+org.gradle.configureondemand=true
|
14
|
18
|
|
|
15
|
|
-# When configured, Gradle will run in incubating parallel mode.
|
|
16
|
|
-# This option should only be used with decoupled projects. More details, visit
|
|
17
|
|
-# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
18
|
|
-org.gradle.parallel=true
|
|
|
19
|
+COMPILE_SDK_VERSION=24
|
|
|
20
|
+BUILD_TOOLS_VERSION=25.0.2
|
|
|
21
|
+MIN_SDK_VERSION=15
|
|
|
22
|
+TARGET_SDK_VERSION=21
|
|
|
|
@@ -1,12 +1,12 @@
|
|
1
|
1
|
apply plugin: 'com.android.library'
|
|
2
|
2
|
|
|
3
|
3
|
android {
|
|
4
|
|
- compileSdkVersion 24
|
|
5
|
|
- buildToolsVersion "25.0.2"
|
|
|
4
|
+ compileSdkVersion COMPILE_SDK_VERSION as int
|
|
|
5
|
+ buildToolsVersion BUILD_TOOLS_VERSION as String
|
|
6
|
6
|
|
|
7
|
7
|
defaultConfig {
|
|
8
|
|
- minSdkVersion 14
|
|
9
|
|
- targetSdkVersion 21
|
|
|
8
|
+ minSdkVersion MIN_SDK_VERSION as int
|
|
|
9
|
+ targetSdkVersion TARGET_SDK_VERSION as int
|
|
10
|
10
|
versionCode 1
|
|
11
|
11
|
versionName "1.0"
|
|
12
|
12
|
}
|