We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33cbf9 commit 36cdd44Copy full SHA for 36cdd44
wrappers/javascript/indy-vdr-react-native/android/build.gradle
@@ -59,6 +59,10 @@ def getExt(name) {
59
return rootProject.ext.get(name)
60
}
61
62
+def getExtWithFallback(prop, fallback) {
63
+ return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
64
+}
65
+
66
def resolveBuildType() {
67
def buildType = "debug"
68
tasks.all({ task ->
@@ -81,7 +85,7 @@ android {
81
85
82
86
83
87
defaultConfig {
84
- minSdkVersion 21
88
+ minSdkVersion getExtWithFallback('minSdkVersion', '21')
89
targetSdkVersion getExt('targetSdkVersion')
90
91
externalNativeBuild {
0 commit comments