Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Android host app for a Flutter module created using
$ flutter create -t module hello
```
and placed in a sibling folder to (a clone of) the host app.
Used by the `module_test.dart` device lab test.
Used by the `build_android_host_app_with_module_aar.dart` device lab test.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'com.android.application'

android {
namespace = "io.flutter.add2app"
compileSdk 34
compileSdk = 35

// Flutter's CI installs the NDK at a non-standard path.
// This non-standard structure is initially created by
Expand All @@ -18,14 +18,14 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 21
targetSdkVersion 34
minSdk = 21
targetSdk = 35
versionCode 1
versionName "1.0"
}
Expand Down
8 changes: 4 additions & 4 deletions docs/contributing/Android-API-And-Related-Versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ If the versions chosen are not known by [gradle_utils.dart](https://github.com/f
```
// OK
android {
compileSdk flutter.compileSdkVersion
compileSdk = flutter.compileSdkVersion
}
```

```
// OK if flutter.compileSdkVersion is not available like in an add to app example.
android {
compileSdk 35
compileSdk = 35
}
```

Expand All @@ -53,14 +53,14 @@ android {
```
// OK
defaultConfig {
targetSdk flutter.targetSdkVersion
targetSdk = flutter.targetSdkVersion
}
```

```
// OK if flutter.compileSdkVersion is not available like in an add to app example.
defaultConfig {
targetSdk 35
targetSdk = 35
}
```

Expand Down