[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:
@@ -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'
|
||||
|
||||
@@ -30,6 +30,10 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
project.getTasks().withType(JavaCompile){
|
||||
options.compilerArgs << "-Xlint:all" << "-Werror"
|
||||
}
|
||||
|
||||
rootProject.buildDir = '../build'
|
||||
|
||||
subprojects {
|
||||
|
||||
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user