mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[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:
parent
0e1056f807
commit
2eef9361ad
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user