We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9b5fc commit 93287e3Copy full SHA for 93287e3
1 file changed
android/build.gradle
@@ -1,13 +1,21 @@
1
2
apply plugin: 'com.android.library'
3
4
+def _ext = rootProject.ext
5
+
6
+def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 23
7
+def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '23.0.1'
8
+def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 16
9
+def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 22
10
11
12
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.1"
13
+ compileSdkVersion _compileSdkVersion
14
+ buildToolsVersion _buildToolsVersion
15
16
defaultConfig {
- minSdkVersion 16
- targetSdkVersion 22
17
+ minSdkVersion _minSdkVersion
18
+ targetSdkVersion _targetSdkVersion
19
versionCode 1
20
versionName "1.0"
21
ndk {
0 commit comments