File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
+ def _ext = rootProject. ext
4
+
5
+ def _compileSdkVersion = _ext. has(' compileSdkVersion' ) ? _ext. compileSdkVersion : 27
6
+ def _buildToolsVersion = _ext. has(' buildToolsVersion' ) ? _ext. buildToolsVersion : ' 27.0.3'
7
+ def _minSdkVersion = _ext. has(' minSdkVersion' ) ? _ext. minSdkVersion : 16
8
+ def _targetSdkVersion = _ext. has(' targetSdkVersion' ) ? _ext. targetSdkVersion : 27
9
+
3
10
android {
4
- compileSdkVersion 23
5
- buildToolsVersion " 23.0.1 "
11
+ compileSdkVersion _compileSdkVersion
12
+ buildToolsVersion _buildToolsVersion
6
13
7
14
defaultConfig {
8
- minSdkVersion 16
9
- targetSdkVersion 22
15
+ minSdkVersion _minSdkVersion
16
+ targetSdkVersion _targetSdkVersion
10
17
versionCode 1
11
18
versionName " 1.0"
12
19
}
You can’t perform that action at this time.
0 commit comments