Unverified Commit 37dbe030 authored by Emmanuel Garcia's avatar Emmanuel Garcia Committed by GitHub

Bump Android Compile SDK to 31 (#92022)

parent be13a38f
...@@ -19,7 +19,8 @@ apply plugin: 'com.android.application' ...@@ -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 ...@@ -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
......
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