forked from firka/flutter
[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:
@@ -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
|
||||
|
||||
@@ -29,7 +29,7 @@ android {
|
||||
namespace '{{androidIdentifier}}'
|
||||
}
|
||||
|
||||
compileSdkVersion 31
|
||||
compileSdkVersion {{compileSdkVersion}}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
|
||||
Reference in New Issue
Block a user