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

View File

@ -1,8 +1,12 @@
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 23 compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion "23.0.1" buildToolsVersion safeExtGet('buildToolsVersion', '26.0.2')
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16