Merge pull request #836 from triplem/gradle_update

Revert targetSdkVersion
This commit is contained in:
Milos Kozak 2018-04-04 23:18:47 +02:00 committed by GitHub
commit f75f4ef400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 13 deletions

View file

@ -15,8 +15,7 @@ apply plugin: "jacoco-android"
apply plugin: 'com.jakewharton.butterknife'
ext {
supportLibraryVersion = "27.0.2"
sdkBuildVersion = "27.0.3"
supportLibraryVersion = "27.1.0"
ormLiteVersion = "4.46"
powermockVersion = "1.7.3"
dexmakerVersion = "1.2"
@ -57,12 +56,11 @@ tasks.matching {it instanceof Test}.all {
android {
compileSdkVersion 27
buildToolsVersion "${sdkBuildVersion}"
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
@ -183,7 +181,7 @@ dependencies {
implementation("com.crashlytics.sdk.android:answers:1.3.12@aar") {
transitive = true;
}
libs 'MilosKozak:danars-support-lib:master@zip'
libs "MilosKozak:danars-support-lib:master@zip"
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
implementation "com.android.support:support-v4:${supportLibraryVersion}"

View file

@ -18,8 +18,8 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
jcenter()
maven {
url "https://maven.google.com"

View file

@ -1,7 +1,6 @@
apply plugin: 'com.android.application'
ext {
supportLibraryVersion = "23.0.1"
wearableVersion = "2.0.1"
}
@ -27,13 +26,12 @@ def generateGitBuild = { ->
}
android {
compileSdkVersion 23
buildToolsVersion "27.0.3"
compileSdkVersion 27
defaultConfig {
applicationId "info.nightscout.androidaps"
minSdkVersion 20
targetSdkVersion 23
minSdkVersion 21
targetSdkVersion 25
versionCode 1
versionName "1.0.2"
buildConfigField "String", "BUILDVERSION", generateGitBuild()