update android compileSdkVersion and buildToolsVersion to 26

This commit is contained in:
Dmitry Novotochinov 2018-08-30 21:08:04 +03:00
parent 3458ffedad
commit dcbe2e1c46
No known key found for this signature in database
GPG Key ID: 43D1DAF5AD39C927
1 changed files with 6 additions and 2 deletions

View File

@ -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