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.
2 parents f9f2299 + a73e510 commit 210995aCopy full SHA for 210995a
android/build.gradle
@@ -1,13 +1,16 @@
1
+def safeExtGet(prop, fallback) {
2
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
3
+}
4
5
apply plugin: 'com.android.library'
6
7
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.1"
8
+ compileSdkVersion safeExtGet('compileSdkVersion', 26)
9
+ buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
10
11
defaultConfig {
- minSdkVersion 16
- targetSdkVersion 22
12
+ minSdkVersion safeExtGet('minSdkVersion', 16)
13
+ targetSdkVersion safeExtGet('targetSdkVersion', 26)
14
versionCode 1
15
versionName "1.0"
16
ndk {
0 commit comments