From 56dec924ec46f87a9dc5b922e20d1a01108e94fe Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 6 Jun 2018 16:57:31 +0200 Subject: [PATCH] android: Set compile-/targetSdkVersion to 26 This allows us to add tiles to Quick Settings and enabling the Always-on VPN feature in the VPN settings (both require API level 24, but 26 will be required as targetSdkVersion later this year). --- src/frontends/android/app/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/frontends/android/app/build.gradle b/src/frontends/android/app/build.gradle index 15b1d4da3..418459602 100644 --- a/src/frontends/android/app/build.gradle +++ b/src/frontends/android/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 23 + compileSdkVersion 26 buildToolsVersion '27.0.3' defaultConfig { applicationId "org.strongswan.android" minSdkVersion 15 - targetSdkVersion 22 + targetSdkVersion 26 versionCode 50 versionName "1.9.6" } @@ -43,7 +43,8 @@ android { } dependencies { - implementation 'com.android.support:appcompat-v7:23.3.0' - implementation 'com.android.support:design:23.3.0' + implementation 'com.android.support:appcompat-v7:26.0.2' + implementation 'com.android.support:design:26.0.2' + implementation 'com.android.support:support-v4:26.0.2' testImplementation 'junit:junit:4.12' }