[Android] Support Android 34 (take 2) (#137967)

Re-lands https://github.com/flutter/flutter/pull/137191.

The fix for the issue causing that PR to be reverted was tested in this PR but ultimately landed separately in https://github.com/flutter/flutter/pull/138093.
This commit is contained in:
Camille Simon
2023-11-09 22:40:15 +00:00
committed by GitHub
parent ce8c3f2022
commit c66bb0a18a
61 changed files with 86 additions and 78 deletions

View File

@@ -37,7 +37,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
namespace "io.flutter.integration.deferred_components_test"
compileSdkVersion flutter.compileSdkVersion
compileSdk flutter.compileSdkVersion
sourceSets {
main.java.srcDirs += 'src/main/kotlin'

View File

@@ -30,6 +30,10 @@ allprojects {
}
}
project.getTasks().withType(JavaCompile){
options.compilerArgs << "-Xlint:all" << "-Werror"
}
rootProject.buildDir = '../build'
subprojects {

View File

@@ -24,7 +24,7 @@ apply plugin: "com.android.dynamic-feature"
android {
namespace "io.flutter.integration.deferred_components_test.component1"
compileSdkVersion 33
compileSdk 34
sourceSets {
applicationVariants.all { variant ->