Skip to content

Commit 42491ea

Browse files
committed
update build.gradle to clean warnings. update retrolambda to 3.7.0
1 parent 2822604 commit 42491ea

File tree

4 files changed

+34
-34
lines changed

4 files changed

+34
-34
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
google()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.0.0'
11+
classpath 'com.android.tools.build:gradle:3.0.1'
1212
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
1313
}
1414
}

data/build.gradle

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'me.tatarka:gradle-retrolambda:3.2.3'
6+
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
77
}
88
}
99

@@ -51,19 +51,19 @@ dependencies {
5151
def dataDependencies = rootProject.ext.dataDependencies
5252
def testDependencies = rootProject.ext.dataTestDependencies
5353

54-
compile project(':domain')
55-
provided dataDependencies.javaxAnnotation
56-
compile dataDependencies.javaxInject
57-
compile dataDependencies.okHttp
58-
compile dataDependencies.gson
59-
compile dataDependencies.rxJava
60-
compile dataDependencies.rxAndroid
61-
compile dataDependencies.androidAnnotations
54+
implementation project(':domain')
55+
compileOnly dataDependencies.javaxAnnotation
56+
implementation dataDependencies.javaxInject
57+
implementation dataDependencies.okHttp
58+
implementation dataDependencies.gson
59+
implementation dataDependencies.rxJava
60+
implementation dataDependencies.rxAndroid
61+
implementation dataDependencies.androidAnnotations
6262

63-
testCompile testDependencies.junit
64-
testCompile testDependencies.assertj
65-
testCompile testDependencies.mockito
66-
testCompile testDependencies.robolectric
63+
testImplementation testDependencies.junit
64+
testImplementation testDependencies.assertj
65+
testImplementation testDependencies.mockito
66+
testImplementation testDependencies.robolectric
6767
}
6868

6969
repositories {

domain/build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ dependencies {
1919
def domainDependencies = rootProject.ext.domainDependencies
2020
def domainTestDependencies = rootProject.ext.domainTestDependencies
2121

22-
provided domainDependencies.javaxAnnotation
22+
compileOnly domainDependencies.javaxAnnotation
2323

24-
compile domainDependencies.javaxInject
25-
compile domainDependencies.rxJava
24+
implementation domainDependencies.javaxInject
25+
implementation domainDependencies.rxJava
2626
compile domainDependencies.arrow
2727

28-
testCompile domainTestDependencies.junit
29-
testCompile domainTestDependencies.mockito
30-
testCompile domainTestDependencies.assertj
28+
testImplementation domainTestDependencies.junit
29+
testImplementation domainTestDependencies.mockito
30+
testImplementation domainTestDependencies.assertj
3131
}

presentation/build.gradle

+14-14
Original file line numberDiff line numberDiff line change
@@ -62,26 +62,26 @@ dependencies {
6262
def presentationTestDependencies = rootProject.ext.presentationTestDependencies
6363
def developmentDependencies = rootProject.ext.developmentDependencies
6464

65-
compile project(':domain')
66-
compile project(':data')
65+
implementation project(':domain')
66+
implementation project(':data')
6767

6868
annotationProcessor presentationDependencies.daggerCompiler
69-
compile presentationDependencies.dagger
70-
compile presentationDependencies.butterKnife
69+
implementation presentationDependencies.dagger
70+
implementation presentationDependencies.butterKnife
7171
annotationProcessor presentationDependencies.butterKnife
72-
compile presentationDependencies.recyclerView
73-
compile presentationDependencies.rxJava
74-
compile presentationDependencies.rxAndroid
75-
provided presentationDependencies.javaxAnnotation
72+
implementation presentationDependencies.recyclerView
73+
implementation presentationDependencies.rxJava
74+
implementation presentationDependencies.rxAndroid
75+
compileOnly presentationDependencies.javaxAnnotation
7676

77-
androidTestCompile presentationTestDependencies.mockito
78-
androidTestCompile presentationTestDependencies.dexmaker
79-
androidTestCompile presentationTestDependencies.dexmakerMockito
80-
androidTestCompile presentationTestDependencies.espresso
81-
androidTestCompile presentationTestDependencies.testingSupportLib
77+
androidTestImplementation presentationTestDependencies.mockito
78+
androidTestImplementation presentationTestDependencies.dexmaker
79+
androidTestImplementation presentationTestDependencies.dexmakerMockito
80+
androidTestImplementation presentationTestDependencies.espresso
81+
androidTestImplementation presentationTestDependencies.testingSupportLib
8282

8383
//Development
84-
compile developmentDependencies.leakCanary
84+
implementation developmentDependencies.leakCanary
8585
}
8686

8787
repositories {

0 commit comments

Comments
 (0)