From 67c5d204687237dd7ff65a9ac17db0a7872df93b Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Sun, 27 Jan 2019 16:59:56 +0000 Subject: [PATCH] Tidy up gradle.properties (#2175) --- app/build.gradle | 12 ++++++------ build.gradle | 3 +-- gradle.properties | 15 ++++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ba6e4a39bc..d85b1976b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -58,15 +58,15 @@ dependencies { kapt "com.google.dagger:dagger-compiler:$DAGGER_VERSION" // Unit testing - testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - testImplementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" + testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION" + testImplementation "org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION" testImplementation 'junit:junit:4.12' testImplementation 'org.robolectric:robolectric:3.7.1' testImplementation 'com.nhaarman:mockito-kotlin:1.5.0' testImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0' // Android testing - androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION" androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0' androidTestImplementation 'com.android.support.test:rules:1.0.2' androidTestImplementation 'com.android.support.test:runner:1.0.2' @@ -77,9 +77,9 @@ dependencies { // Debugging implementation 'com.tspoon.traceur:traceur:1.0.1' implementation 'com.facebook.stetho:stetho:1.5.0' - debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY" - releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY" - testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY" + debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY_VERSION" + releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY_VERSION" + testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY_VERSION" // Support libraries implementation "com.android.support:support-v4:$SUPPORT_LIB_VERSION" diff --git a/build.gradle b/build.gradle index 3ec3bd1593..a7f6e64a0f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,5 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.2.60' repositories { jcenter() mavenCentral() @@ -10,7 +9,7 @@ buildscript { classpath 'com.android.tools.build:gradle:3.1.4' classpath 'com.dicedmelon.gradle:jacoco-android:0.1.3' classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION" classpath "com.github.triplet.gradle:play-publisher:2.0.0-rc1" } diff --git a/gradle.properties b/gradle.properties index 2bfdfe3036..435ed6600a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,15 +13,16 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true #Thu Mar 01 15:28:48 IST 2018 -systemProp.http.proxyPort=0 -compileSdkVersion=android-27 -BUTTERKNIFE_VERSION=8.8.1 org.gradle.jvmargs=-Xmx1536M +android.enableBuildCache=true +compileSdkVersion=android-27 buildToolsVersion=27.0.3 SUPPORT_LIB_VERSION=27.1.1 -systemProp.http.proxyHost= -LEAK_CANARY=1.5.4 +KOTLIN_VERSION=1.2.60 +BUTTERKNIFE_VERSION=8.8.1 +LEAK_CANARY_VERSION=1.5.4 DAGGER_VERSION=2.15 -gradleVersion=3.0.0 -android.enableBuildCache=true + +systemProp.http.proxyPort=0 +systemProp.http.proxyHost= \ No newline at end of file