Skip to content

Commit 67c5d20

Browse files
domdomeggmaskaravivek
authored andcommitted
Tidy up gradle.properties (commons-app#2175)
1 parent e82e3b9 commit 67c5d20

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ dependencies {
5858
kapt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
5959

6060
// Unit testing
61-
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
62-
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
61+
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
62+
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION"
6363
testImplementation 'junit:junit:4.12'
6464
testImplementation 'org.robolectric:robolectric:3.7.1'
6565
testImplementation 'com.nhaarman:mockito-kotlin:1.5.0'
6666
testImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0'
6767

6868
// Android testing
69-
androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
69+
androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
7070
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0'
7171
androidTestImplementation 'com.android.support.test:rules:1.0.2'
7272
androidTestImplementation 'com.android.support.test:runner:1.0.2'
@@ -77,9 +77,9 @@ dependencies {
7777
// Debugging
7878
implementation 'com.tspoon.traceur:traceur:1.0.1'
7979
implementation 'com.facebook.stetho:stetho:1.5.0'
80-
debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY"
81-
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY"
82-
testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY"
80+
debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY_VERSION"
81+
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY_VERSION"
82+
testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY_VERSION"
8383

8484
// Support libraries
8585
implementation "com.android.support:support-v4:$SUPPORT_LIB_VERSION"

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
3-
ext.kotlin_version = '1.2.60'
43
repositories {
54
jcenter()
65
mavenCentral()
@@ -10,7 +9,7 @@ buildscript {
109
classpath 'com.android.tools.build:gradle:3.1.4'
1110
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.3'
1211
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
13-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
1413

1514
classpath "com.github.triplet.gradle:play-publisher:2.0.0-rc1"
1615
}

gradle.properties

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@
1313
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1414
# org.gradle.parallel=true
1515
#Thu Mar 01 15:28:48 IST 2018
16-
systemProp.http.proxyPort=0
17-
compileSdkVersion=android-27
18-
BUTTERKNIFE_VERSION=8.8.1
1916
org.gradle.jvmargs=-Xmx1536M
17+
android.enableBuildCache=true
18+
compileSdkVersion=android-27
2019
buildToolsVersion=27.0.3
2120

2221
SUPPORT_LIB_VERSION=27.1.1
23-
systemProp.http.proxyHost=
24-
LEAK_CANARY=1.5.4
22+
KOTLIN_VERSION=1.2.60
23+
BUTTERKNIFE_VERSION=8.8.1
24+
LEAK_CANARY_VERSION=1.5.4
2525
DAGGER_VERSION=2.15
26-
gradleVersion=3.0.0
27-
android.enableBuildCache=true
26+
27+
systemProp.http.proxyPort=0
28+
systemProp.http.proxyHost=

0 commit comments

Comments
 (0)