We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d45f3bc commit 3a1519dCopy full SHA for 3a1519d
1 file changed
android/build.gradle
@@ -1,12 +1,16 @@
1
apply plugin: 'com.android.library'
2
3
+def DEFAULT_COMPILE_SDK_VERSION = 23
4
+def DEFAULT_BUILD_TOOLS_VERSION = "23.0.1"
5
+def DEFAULT_TARGET_SDK_VERSION = 22
6
+
7
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.1"
8
+ compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
9
+ buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
10
11
defaultConfig {
12
minSdkVersion 16
- targetSdkVersion 22
13
+ targetSdkVersion rootProject.hasProperty('targetSdkVersion') ? rootProject.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
14
versionCode 1
15
versionName "1.0"
16
}
0 commit comments