Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantnegi authored and harshgarg18 committed Aug 26, 2024
1 parent 4b2693c commit 5657690
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.android.Version

buildscript {
repositories {
google()
Expand Down Expand Up @@ -34,7 +36,7 @@ def getExtOrIntegerDefault(name) {
}

android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
def agpVersion = Version.ANDROID_GRADLE_PLUGIN_VERSION
// Check AGP version for backward compatibility w/react-native versions still on gradle plugin 6
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace = "in.juspay.hypersdkreact"
Expand Down

0 comments on commit 5657690

Please sign in to comment.