Skip to content

Commit 37dbe03

Browse files
author
Emmanuel Garcia
authored
Bump Android Compile SDK to 31 (flutter#92022)
1 parent be13a38 commit 37dbe03

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev/integration_tests/gradle_deprecated_settings/android/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ apply plugin: 'com.android.application'
1919
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2020

2121
android {
22-
compileSdkVersion flutter.compileSdkVersion
22+
// TODO(egarciad): Bump once https://github.com/flutter/flutter/issues/89578 is fixed.
23+
compileSdkVersion 30
2324

2425
compileOptions {
2526
sourceCompatibility JavaVersion.VERSION_1_8

packages/flutter_tools/gradle/flutter.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import org.gradle.util.VersionNumber
3030
/** For apps only. Provides the flutter extension used in app/build.gradle. */
3131
class FlutterExtension {
3232
/** Sets the compileSdkVersion used by default in Flutter app projects. */
33-
static int compileSdkVersion = 30
33+
static int compileSdkVersion = 31
3434

3535
/** Sets the minSdkVersion used by default in Flutter app projects. */
3636
static int minSdkVersion = 16

0 commit comments

Comments
 (0)