From c3bec7e7a6d273b5520dd0f2d266c3bc9bb76b8b Mon Sep 17 00:00:00 2001 From: "Markus M. May" Date: Wed, 4 Apr 2018 21:38:44 +0200 Subject: [PATCH] Revert targetSdkVersion --- app/build.gradle | 8 +++----- wear/build.gradle | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 080422af46..d6119e8874 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,7 +16,6 @@ apply plugin: 'com.jakewharton.butterknife' ext { supportLibraryVersion = "27.0.2" - sdkBuildVersion = "27.0.3" ormLiteVersion = "4.46" powermockVersion = "1.7.3" dexmakerVersion = "1.2" @@ -56,13 +55,12 @@ tasks.matching {it instanceof Test}.all { } android { - compileSdkVersion 27 - buildToolsVersion "${sdkBuildVersion}" + compileSdkVersion 26 defaultConfig { applicationId "info.nightscout.androidaps" minSdkVersion 21 - targetSdkVersion 27 + targetSdkVersion 25 multiDexEnabled true versionCode 1500 version "1.60c-dev" @@ -78,7 +76,7 @@ android { // TODO remove once wear dependency com.google.android.gms:play-services-wearable:7.3.0 // has been upgraded (requiring significant code changes), which currently fails release // build with a deprecation warning - // abortOnError false + abortOnError false // (disabled entirely to avoid reports on the error, which would still be displayed // and it's easy to overlook that it's ignored) checkReleaseBuilds false diff --git a/wear/build.gradle b/wear/build.gradle index e842aae62f..7d8863fe33 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -1,8 +1,7 @@ apply plugin: 'com.android.application' ext { - supportLibraryVersion = "23.0.1" - wearableVersion = "2.0.1" + wearableVersion = "2.0.1" } def generateGitBuild = { -> @@ -28,12 +27,11 @@ def generateGitBuild = { -> android { compileSdkVersion 23 - buildToolsVersion "27.0.3" defaultConfig { applicationId "info.nightscout.androidaps" - minSdkVersion 20 - targetSdkVersion 23 + minSdkVersion 21 + targetSdkVersion 25 versionCode 1 versionName "1.0.2" buildConfigField "String", "BUILDVERSION", generateGitBuild()