update android compileSdkVersion and buildToolsVersion to 26
This commit is contained in:
parent
3458ffedad
commit
dcbe2e1c46
|
@ -11,9 +11,13 @@ buildscript {
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
|
def safeExtGet(prop, fallback) {
|
||||||
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion safeExtGet('compileSdkVersion', 26)
|
||||||
buildToolsVersion "25.0.3"
|
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.2')
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
|
|
Loading…
Reference in New Issue