Bump Android Compile SDK to 31 (#92022)

This commit is contained in:
Emmanuel Garcia 2021-10-21 18:01:33 -07:00 committed by GitHub
parent be13a38fc3
commit 37dbe030fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,8 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion flutter.compileSdkVersion
// TODO(egarciad): Bump once https://github.com/flutter/flutter/issues/89578 is fixed.
compileSdkVersion 30
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@ -30,7 +30,7 @@ import org.gradle.util.VersionNumber
/** For apps only. Provides the flutter extension used in app/build.gradle. */
class FlutterExtension {
/** 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. */
static int minSdkVersion = 16