Skip to content

Commit

Permalink
馃帀 Add support for AGP 8 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiCalazans committed Nov 20, 2023
1 parent 0feb820 commit 46c37a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ def safeExtGet(prop, fallback) {
}

android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger()
if (agpVersion >= 7) {
namespace 'org.linusu'
}
compileSdkVersion safeExtGet('compileSdkVersion', 30)
buildToolsVersion safeExtGet('buildToolsVersion', '30.0.3')

Expand Down

0 comments on commit 46c37a8

Please sign in to comment.