Skip to content

Commit

Permalink
Merge pull request #30 from stetbern/add-namespace
Browse files Browse the repository at this point in the history
add namespace to build.gradle for AGP > 7
  • Loading branch information
dmengelt authored Oct 22, 2024
2 parents ac66ec2 + 36026ae commit 8a4f8fa
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 @@ -34,6 +34,11 @@ def getExtOrIntegerDefault(name) {
}

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

compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")

defaultConfig {
Expand Down

0 comments on commit 8a4f8fa

Please sign in to comment.