From 458dd4ad2294389557721cb601eaef5bc7672532 Mon Sep 17 00:00:00 2001 From: Dmitry Novotochinov Date: Thu, 30 Aug 2018 21:03:32 +0300 Subject: [PATCH] update android compileSdkVersion and buildToolsVersion to 26 --- android/build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 447d675..e5c516a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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