[Android] Update plugin and module templates to use Flutter constant for compileSdkVersion (#128073)

Updates plugin and module templates to use Flutter constant for `compileSdkVersion`.
This commit is contained in:
Camille Simon
2023-06-06 14:14:00 -07:00
committed by GitHub
parent 0e1056f807
commit 2eef9361ad
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ if (flutterVersionName == null) {
apply plugin: "com.android.dynamic-feature"
android {
compileSdkVersion 31
compileSdkVersion flutter.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -29,7 +29,7 @@ android {
namespace '{{androidIdentifier}}'
}
compileSdkVersion 31
compileSdkVersion {{compileSdkVersion}}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8