We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e08303 commit 71cdb8cCopy full SHA for 71cdb8c
1 file changed
android/build.gradle
@@ -27,10 +27,7 @@ apply plugin: 'kotlin-android'
27
android {
28
compileSdkVersion 31
29
30
- // Only set namespace on compatible versions (Android Gradle plugin >= 7.0.0)
31
- // The if-check checks for a property that has been removed since AGP 7.0.0
32
- // https://developer.android.com/build/releases/past-releases/agp-7-0-0-release-notes#build-cache-removed
33
- if (!project.hasProperty("android.buildCacheDir")) {
+ if (project.android.hasProperty("namespace")) {
34
namespace 'dev.fluttercommunity.android_id'
35
}
36
0 commit comments