Bump targetSdkVersion to 31 and organize static values (#91719)

This commit is contained in:
Emmanuel Garcia
2021-10-15 13:41:48 -07:00
committed by GitHub
parent ff6f462095
commit d7631275fe
48 changed files with 198 additions and 165 deletions

View File

@@ -40,7 +40,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 30
compileSdkVersion flutter.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
@@ -49,8 +49,8 @@ android {
defaultConfig {
applicationId "io.flutter.demo.gallery"
minSdkVersion 16
targetSdkVersion 30
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"