Skip to content

Commit

Permalink
Update build.gradle (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandez authored Aug 1, 2023
1 parent 484ec68 commit 68fe4af
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 @@ -20,6 +20,11 @@ buildscript {
apply plugin: 'com.android.library'

android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace "com.rnappauth"
}

compileSdkVersion safeExtGet('compileSdkVersion', 28)
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
Expand Down

0 comments on commit 68fe4af

Please sign in to comment.