Upgrade compile and target sdk versions in tests and benchmarks (#131428)

Partially fixes/related to: https://github.com/flutter/flutter/issues/131425
This commit is contained in:
gmackall 2023-07-31 11:10:24 -07:00 committed by GitHub
parent 972d36c4ef
commit ae750e57f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 15 deletions

View File

@ -14,7 +14,7 @@ android {
}
namespace "dev.flutter.multipleflutters"
compileSdkVersion 31
compileSdkVersion 33
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
@ -28,7 +28,7 @@ android {
defaultConfig {
applicationId "dev.flutter.multipleflutters"
minSdkVersion 24
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"

View File

@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
}

View File

@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
}

View File

@ -24,7 +24,7 @@ apply plugin: "com.android.dynamic-feature"
android {
namespace "io.flutter.integration.deferred_components_test.component1"
compileSdkVersion 31
compileSdkVersion 33
sourceSets {
applicationVariants.all { variant ->
@ -35,7 +35,7 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

View File

@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.addtoapp"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
}

View File

@ -34,8 +34,8 @@ android {
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 31
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

View File

@ -1617,7 +1617,7 @@ String gradleFileWithApplicationId(String id) {
return '''
apply plugin: 'com.android.application'
android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId '$id'
@ -1634,7 +1634,7 @@ version '1.0-SNAPSHOT'
apply plugin: 'com.android.library'
android {
compileSdkVersion 31
compileSdkVersion 33
}
''';
}

View File

@ -77,7 +77,7 @@ class DeferredComponentModule {
apply plugin: "com.android.dynamic-feature"
android {
compileSdkVersion 31
compileSdkVersion 33
sourceSets {
applicationVariants.all { variant ->
@ -88,7 +88,7 @@ class DeferredComponentModule {
defaultConfig {
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

View File

@ -144,7 +144,7 @@ class MultidexProject extends Project {
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 31
compileSdkVersion 33
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
@ -163,7 +163,7 @@ class MultidexProject extends Project {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.multidextest2"
minSdkVersion 19
targetSdkVersion 30
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}