update android compileSdkVersion and buildToolsVersion to 26

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

View File

@ -1,8 +1,12 @@
apply plugin: 'com.android.library'
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.2')
defaultConfig {
minSdkVersion 16