check sdk version at the project level, bump minimum sdk version
This commit is contained in:
parent
58d0daabc5
commit
6a9273419a
@ -1,12 +1,16 @@
|
||||
def safeExtGet(prop, fallback) {
|
||||
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "23.0.1"
|
||||
compileSdkVersion safeExtGet('compileSdkVersion', 26)
|
||||
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 22
|
||||
minSdkVersion safeExtGet('minSdkVersion', 16)
|
||||
targetSdkVersion safeExtGet('targetSdkVersion', 26)
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user