diff --git a/app/build.gradle b/app/build.gradle index 7a9abb46e5..080422af46 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,9 +16,11 @@ apply plugin: 'com.jakewharton.butterknife' ext { supportLibraryVersion = "27.0.2" + sdkBuildVersion = "27.0.3" ormLiteVersion = "4.46" powermockVersion = "1.7.3" dexmakerVersion = "1.2" + butterknifeVersion = "8.8.1" } @@ -55,7 +57,7 @@ tasks.matching {it instanceof Test}.all { android { compileSdkVersion 27 - buildToolsVersion "${supportLibraryVersion}" + buildToolsVersion "${sdkBuildVersion}" defaultConfig { applicationId "info.nightscout.androidaps" @@ -221,8 +223,8 @@ dependencies { implementation 'org.mozilla:rhino:1.7.7.2' - api "com.jakewharton:butterknife:8.8.1" - annotationProcessor "com.jakewharton:butterknife-compiler:8.8.1" + implementation "com.jakewharton:butterknife:${butterknifeVersion}" + annotationProcessor "com.jakewharton:butterknife-compiler:${butterknifeVersion}" testImplementation "junit:junit:4.12" testImplementation "org.json:json:20140107" diff --git a/build.gradle b/build.gradle index 0bbe15c8a2..7cfd0f7ea4 100644 --- a/build.gradle +++ b/build.gradle @@ -4,14 +4,15 @@ buildscript { repositories { jcenter() google() + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files - classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0' + classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT' } } diff --git a/wear/build.gradle b/wear/build.gradle index 1640819c3f..e842aae62f 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -28,7 +28,7 @@ def generateGitBuild = { -> android { compileSdkVersion 23 - buildToolsVersion "26.0.2" + buildToolsVersion "27.0.3" defaultConfig { applicationId "info.nightscout.androidaps"