Bump Android Compile SDK to 31 (#92022)
This commit is contained in:
parent
be13a38fc3
commit
37dbe030fe
@ -19,7 +19,8 @@ apply plugin: 'com.android.application'
|
|||||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion flutter.compileSdkVersion
|
// TODO(egarciad): Bump once https://github.com/flutter/flutter/issues/89578 is fixed.
|
||||||
|
compileSdkVersion 30
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
@ -30,7 +30,7 @@ import org.gradle.util.VersionNumber
|
|||||||
/** For apps only. Provides the flutter extension used in app/build.gradle. */
|
/** For apps only. Provides the flutter extension used in app/build.gradle. */
|
||||||
class FlutterExtension {
|
class FlutterExtension {
|
||||||
/** Sets the compileSdkVersion used by default in Flutter app projects. */
|
/** Sets the compileSdkVersion used by default in Flutter app projects. */
|
||||||
static int compileSdkVersion = 30
|
static int compileSdkVersion = 31
|
||||||
|
|
||||||
/** Sets the minSdkVersion used by default in Flutter app projects. */
|
/** Sets the minSdkVersion used by default in Flutter app projects. */
|
||||||
static int minSdkVersion = 16
|
static int minSdkVersion = 16
|
||||||
|
Loading…
x
Reference in New Issue
Block a user