Skip to content

Commit a72cee1

Browse files
committed
bump deps
1 parent 8ee8d61 commit a72cee1

File tree

13 files changed

+154
-205
lines changed

13 files changed

+154
-205
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# demo_app
22

3-
A new Flutter project.
3+
A simple cross-platform Android & iOS app, built with Flutter, for testing
4+
[Maestro framework](https://github.com/mobile-dev-inc/maestro).
45

5-
## Getting Started
6+
### How does it work?
67

7-
This project is a starting point for a Flutter application.
8+
1. Binaries of this app are built
9+
2. Binaries are uploaded to our GCS bucket
10+
3. Link to the binaries in GCS bucket are in [e2e/manifest.txt][manifest]
811

9-
A few resources to get you started if this is your first Flutter project:
12+
Whenever E2E pipeline of Maestro runs, it downloads the binaries from the GCS
13+
and runs flows in the [e2e/workspaces/demo_app]
1014

11-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
1315

14-
For help getting started with Flutter development, view the
15-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
16+
17+
[workspace]:
18+
[manifest]: https://github.com/mobile-dev-inc/maestro/blob/main/e2e/manifest.txt

android/app/build.gradle

Lines changed: 0 additions & 58 deletions
This file was deleted.

android/app/build.gradle.kts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
plugins {
2+
id("com.android.application")
3+
id("kotlin-android")
4+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5+
id("dev.flutter.flutter-gradle-plugin")
6+
}
7+
8+
android {
9+
namespace = "com.example.example"
10+
compileSdk = flutter.compileSdkVersion
11+
ndkVersion = "26.1.10909125"
12+
13+
compileOptions {
14+
sourceCompatibility = JavaVersion.VERSION_1_8
15+
targetCompatibility = JavaVersion.VERSION_1_8
16+
}
17+
18+
kotlinOptions {
19+
jvmTarget = "1.8"
20+
}
21+
22+
defaultConfig {
23+
applicationId = "com.example.example"
24+
minSdk = flutter.minSdkVersion
25+
targetSdk = flutter.targetSdkVersion
26+
versionCode = flutter.versionCode
27+
versionName = flutter.versionName
28+
}
29+
30+
buildTypes {
31+
release {
32+
// TODO: Add your own signing config for the release build.
33+
// Signing with the debug keys for now, so `flutter run --release` works.
34+
signingConfig = signingConfigs.getByName("debug")
35+
}
36+
}
37+
}
38+
39+
flutter {
40+
source = "../.."
41+
}

android/build.gradle

Lines changed: 0 additions & 18 deletions
This file was deleted.

android/build.gradle.kts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
allprojects {
2+
repositories {
3+
google()
4+
mavenCentral()
5+
}
6+
}
7+
8+
rootProject.buildDir = file("../build")
9+
subprojects {
10+
project.buildDir = file("${rootProject.buildDir}/${project.name}")
11+
}
12+
subprojects {
13+
project.evaluationDependsOn(":app")
14+
}
15+
16+
tasks.register<Delete>("clean") {
17+
delete(rootProject.buildDir)
18+
}

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip

android/settings.gradle

Lines changed: 0 additions & 25 deletions
This file was deleted.

android/settings.gradle.kts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
pluginManagement {
2+
val flutterSdkPath = run {
3+
val properties = java.util.Properties()
4+
file("local.properties").inputStream().use { properties.load(it) }
5+
val flutterSdkPath = properties.getProperty("flutter.sdk")
6+
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
7+
flutterSdkPath
8+
}
9+
10+
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
11+
12+
repositories {
13+
google()
14+
mavenCentral()
15+
gradlePluginPortal()
16+
}
17+
}
18+
19+
plugins {
20+
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21+
id("com.android.application") version "8.5.2" apply false
22+
id("org.jetbrains.kotlin.android") version "2.0.20" apply false
23+
}
24+
25+
include(":app")

ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ EXTERNAL SOURCES:
1515

1616
SPEC CHECKSUMS:
1717
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
18-
integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4
18+
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
1919

2020
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
2121

ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Flutter
22
import UIKit
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

0 commit comments

Comments
 (0)