Unverified Commit 3a6c4eb1 authored by Reid Baker's avatar Reid Baker Committed by GitHub

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
parent f87d2087
......@@ -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 {
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment