Skip to content

Commit 46c37a8

Browse files
🎉 Add support for AGP 8 (#48)
1 parent 0feb820 commit 46c37a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

android/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ def safeExtGet(prop, fallback) {
2222
}
2323

2424
android {
25+
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger()
26+
if (agpVersion >= 7) {
27+
namespace 'org.linusu'
28+
}
2529
compileSdkVersion safeExtGet('compileSdkVersion', 30)
2630
buildToolsVersion safeExtGet('buildToolsVersion', '30.0.3')
2731

0 commit comments

Comments
 (0)