We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e54c83 commit 0f57221Copy full SHA for 0f57221
android/app/build.gradle
@@ -1,11 +1,15 @@
1
apply plugin: "com.android.library"
2
3
+def safeExtGet(prop, fallback) {
4
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
5
+}
6
+
7
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.1"
8
+ compileSdkVersion safeExtGet('compileSdkVersion', 23)
9
+ buildToolsVersion safeExtGet('buildToolsVersion', "23.0.1")
10
defaultConfig {
11
minSdkVersion 16
- targetSdkVersion 22
12
+ targetSdkVersion safeExtGet('targetSdkVersion', 22)
13
versionCode 1
14
versionName "1.0"
15
}
0 commit comments