Skip to content

Commit

Permalink
add support for AGP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Timi-Duban committed Aug 7, 2024
1 parent a699377 commit 00682db
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 @@ -12,6 +12,10 @@ buildscript {
apply plugin: 'com.android.library'

android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger()
if (agpVersion >= 7) {
namespace 'RNReactNativeSharedGroupPreferences'
}
compileSdkVersion 34
buildToolsVersion "34.0.0"

Expand Down

0 comments on commit 00682db

Please sign in to comment.