diff --git a/android/build.gradle b/android/build.gradle index 158b55d..9fa551c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,6 +8,11 @@ android { compileSdkVersion safeExtGet('compileSdkVersion', 31) buildToolsVersion safeExtGet('buildToolsVersion', "31.0.0") + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger() + if (agpVersion >= 7) { + namespace 'com.gantix.JailMonkey' + } + defaultConfig { minSdkVersion safeExtGet('minSdkVersion', 21) targetSdkVersion safeExtGet('targetSdkVersion', 31)