Skip to content

Commit 4a27d1c

Browse files
authored
Update build.gradle
1 parent a9a7679 commit 4a27d1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ def safeExtGet(prop, fallback) {
55
}
66

77
android {
8+
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
9+
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
10+
namespace "com.zxcpoiu.incallmanager"
11+
}
12+
813
compileSdkVersion safeExtGet('compileSdkVersion', 30)
914
buildToolsVersion safeExtGet('buildToolsVersion', "30.0.2")
1015

0 commit comments

Comments
 (0)