Skip to content

Commit

Permalink
Merge pull request #200 from AndreiCalazans/andrei/agp-8-support
Browse files Browse the repository at this point in the history
chore(android): add support for AGP 8
  • Loading branch information
levibuzolic authored Apr 4, 2024
2 parents ae3f170 + 77d87a9 commit c53b2fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c53b2fc

Please sign in to comment.