Skip to content

Commit 98858a9

Browse files
specify android namespace (#82)
1 parent c9007c3 commit 98858a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arcgis_map_sdk_android/android/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ apply plugin: 'kotlin-android'
3131
android {
3232
compileSdkVersion 31
3333

34+
35+
// Conditional for compatibility with AGP <4.2.
36+
if (project.android.hasProperty("namespace")) {
37+
namespace 'dev.fluttercommunity.arcgis_map_sdk_android'
38+
}
39+
3440
compileOptions {
3541
sourceCompatibility JavaVersion.VERSION_11
3642
targetCompatibility JavaVersion.VERSION_11

0 commit comments

Comments
 (0)