Skip to content

Commit

Permalink
Merge branch 'main' into dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
swcurran authored May 13, 2024
2 parents 25287ad + 36cdd44 commit 85d6f7e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def getExt(name) {
return rootProject.ext.get(name)
}

def getExtWithFallback(prop, fallback) {
return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

def resolveBuildType() {
def buildType = "debug"
tasks.all({ task ->
Expand All @@ -81,7 +85,7 @@ android {
}

defaultConfig {
minSdkVersion 21
minSdkVersion getExtWithFallback('minSdkVersion', '21')
targetSdkVersion getExt('targetSdkVersion')

externalNativeBuild {
Expand Down

0 comments on commit 85d6f7e

Please sign in to comment.