Smallest change required to support host apps using agp 8.0 (#125657)

Testing AGP 8.0 is not possible with the existing infra because of the java version on CI machines. See https://github.com/flutter/flutter/issues/125325 for more details.

https://github.com/flutter/flutter/issues/125181
This commit is contained in:
Reid Baker
2023-04-28 10:30:46 -04:00
committed by GitHub
parent f87d208742
commit 3a6c4eb14d
2 changed files with 8 additions and 0 deletions

View File

@@ -26,6 +26,10 @@ rootProject.allprojects {
apply plugin: 'com.android.library'
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'dev.flutter.integration_test'
}
compileSdkVersion 31
compileOptions {

View File

@@ -29,6 +29,10 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'com.example.integration_test_example'
}
compileSdkVersion flutter.compileSdkVersion
compileOptions {