From 786a3e734ac702f1ba581d65b2e44b280a693bb3 Mon Sep 17 00:00:00 2001 From: Jakob Nixdorf Date: Thu, 30 Nov 2017 17:23:57 +0100 Subject: [PATCH] Bump Android SDK to 27 Fixes #76 --- .travis.yml | 4 ++-- app/build.gradle | 32 ++++++++++++++++++-------------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef43bd99..eaca54cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,8 @@ android: - platform-tools - tools - - build-tools-26.0.2 - - android-26 + - build-tools-27.0.1 + - android-27 - extra-google-m2repository - extra-android-m2repository diff --git a/app/build.gradle b/app/build.gradle index 6d113ff4..0ae22a02 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 - buildToolsVersion '26.0.2' + compileSdkVersion 27 + buildToolsVersion '27.0.1' defaultConfig { applicationId "org.shadowice.flocke.andotp" minSdkVersion 19 - targetSdkVersion 26 + targetSdkVersion 27 versionCode 11 versionName "0.3.0" } @@ -25,18 +25,22 @@ android { } } +ext { + supportLibVersion = "27.0.2" +} + dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'de.psdev.licensesdialog:licensesdialog:1.8.3' - compile 'com.android.support:appcompat-v7:26.1.0' - compile 'com.android.support:design:26.1.0' - compile 'com.android.support:recyclerview-v7:26.1.0' - compile 'com.android.support:cardview-v7:26.1.0' - compile 'com.android.support.constraint:constraint-layout:1.0.2' - compile 'com.journeyapps:zxing-android-embedded:3.5.0' - compile 'commons-codec:commons-codec:1.10' - compile 'me.zhanghai.android.materialprogressbar:library:1.4.1' - compile 'org.sufficientlysecure:openpgp-api:12.0' - compile 'com.vanniktech:vntnumberpickerpreference:1.0.0' + compile "commons-codec:commons-codec:1.10" + compile "com.android.support:appcompat-v7:$supportLibVersion" + compile "com.android.support:cardview-v7:$supportLibVersion" + compile "com.android.support:design:$supportLibVersion" + compile "com.android.support:recyclerview-v7:$supportLibVersion" + compile "com.android.support.constraint:constraint-layout:1.0.2" + compile "com.journeyapps:zxing-android-embedded:3.5.0" + compile "com.vanniktech:vntnumberpickerpreference:1.0.0" + compile "de.psdev.licensesdialog:licensesdialog:1.8.3" + compile "me.zhanghai.android.materialprogressbar:library:1.4.1" + compile "org.sufficientlysecure:openpgp-api:12.0" }