Unverified Commit 2eef9361 authored by Camille Simon's avatar Camille Simon Committed by GitHub

[Android] Update plugin and module templates to use Flutter constant for...

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

Updates plugin and module templates to use Flutter constant for `compileSdkVersion`.
parent 0e1056f8
...@@ -19,7 +19,7 @@ if (flutterVersionName == null) { ...@@ -19,7 +19,7 @@ if (flutterVersionName == null) {
apply plugin: "com.android.dynamic-feature" apply plugin: "com.android.dynamic-feature"
android { android {
compileSdkVersion 31 compileSdkVersion flutter.compileSdkVersion
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
......
...@@ -29,7 +29,7 @@ android { ...@@ -29,7 +29,7 @@ android {
namespace '{{androidIdentifier}}' namespace '{{androidIdentifier}}'
} }
compileSdkVersion 31 compileSdkVersion {{compileSdkVersion}}
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment