-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ee8d61
commit a72cee1
Showing
13 changed files
with
154 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# demo_app | ||
|
||
A new Flutter project. | ||
A simple cross-platform Android & iOS app, built with Flutter, for testing | ||
[Maestro framework](https://github.com/mobile-dev-inc/maestro). | ||
|
||
## Getting Started | ||
### How does it work? | ||
|
||
This project is a starting point for a Flutter application. | ||
1. Binaries of this app are built | ||
2. Binaries are uploaded to our GCS bucket | ||
3. Link to the binaries in GCS bucket are in [e2e/manifest.txt][manifest] | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
Whenever E2E pipeline of Maestro runs, it downloads the binaries from the GCS | ||
and runs flows in the [e2e/workspaces/demo_app] | ||
|
||
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) | ||
|
||
For help getting started with Flutter development, view the | ||
[online documentation](https://docs.flutter.dev/), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. | ||
|
||
[workspace]: | ||
[manifest]: https://github.com/mobile-dev-inc/maestro/blob/main/e2e/manifest.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. | ||
id("dev.flutter.flutter-gradle-plugin") | ||
} | ||
|
||
android { | ||
namespace = "com.example.example" | ||
compileSdk = flutter.compileSdkVersion | ||
ndkVersion = "26.1.10909125" | ||
|
||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
} | ||
|
||
defaultConfig { | ||
applicationId = "com.example.example" | ||
minSdk = flutter.minSdkVersion | ||
targetSdk = flutter.targetSdkVersion | ||
versionCode = flutter.versionCode | ||
versionName = flutter.versionName | ||
} | ||
|
||
buildTypes { | ||
release { | ||
// TODO: Add your own signing config for the release build. | ||
// Signing with the debug keys for now, so `flutter run --release` works. | ||
signingConfig = signingConfigs.getByName("debug") | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source = "../.." | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
rootProject.buildDir = file("../build") | ||
subprojects { | ||
project.buildDir = file("${rootProject.buildDir}/${project.name}") | ||
} | ||
subprojects { | ||
project.evaluationDependsOn(":app") | ||
} | ||
|
||
tasks.register<Delete>("clean") { | ||
delete(rootProject.buildDir) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
pluginManagement { | ||
val flutterSdkPath = run { | ||
val properties = java.util.Properties() | ||
file("local.properties").inputStream().use { properties.load(it) } | ||
val flutterSdkPath = properties.getProperty("flutter.sdk") | ||
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" } | ||
flutterSdkPath | ||
} | ||
|
||
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
plugins { | ||
id("dev.flutter.flutter-plugin-loader") version "1.0.0" | ||
id("com.android.application") version "8.5.2" apply false | ||
id("org.jetbrains.kotlin.android") version "2.0.20" apply false | ||
} | ||
|
||
include(":app") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.