update build.gradle to clean warnings. update retrolambda to 3.7.0

This commit is contained in:
Li Xingming
2018-02-11 16:45:33 +08:00
parent 2822604ae0
commit 42491ea00c
4 changed files with 34 additions and 34 deletions

View File

@@ -8,7 +8,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
}

View File

@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.2.3'
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
}
}
@@ -51,19 +51,19 @@ dependencies {
def dataDependencies = rootProject.ext.dataDependencies
def testDependencies = rootProject.ext.dataTestDependencies
compile project(':domain')
provided dataDependencies.javaxAnnotation
compile dataDependencies.javaxInject
compile dataDependencies.okHttp
compile dataDependencies.gson
compile dataDependencies.rxJava
compile dataDependencies.rxAndroid
compile dataDependencies.androidAnnotations
implementation project(':domain')
compileOnly dataDependencies.javaxAnnotation
implementation dataDependencies.javaxInject
implementation dataDependencies.okHttp
implementation dataDependencies.gson
implementation dataDependencies.rxJava
implementation dataDependencies.rxAndroid
implementation dataDependencies.androidAnnotations
testCompile testDependencies.junit
testCompile testDependencies.assertj
testCompile testDependencies.mockito
testCompile testDependencies.robolectric
testImplementation testDependencies.junit
testImplementation testDependencies.assertj
testImplementation testDependencies.mockito
testImplementation testDependencies.robolectric
}
repositories {

View File

@@ -19,13 +19,13 @@ dependencies {
def domainDependencies = rootProject.ext.domainDependencies
def domainTestDependencies = rootProject.ext.domainTestDependencies
provided domainDependencies.javaxAnnotation
compileOnly domainDependencies.javaxAnnotation
compile domainDependencies.javaxInject
compile domainDependencies.rxJava
implementation domainDependencies.javaxInject
implementation domainDependencies.rxJava
compile domainDependencies.arrow
testCompile domainTestDependencies.junit
testCompile domainTestDependencies.mockito
testCompile domainTestDependencies.assertj
testImplementation domainTestDependencies.junit
testImplementation domainTestDependencies.mockito
testImplementation domainTestDependencies.assertj
}

View File

@@ -62,26 +62,26 @@ dependencies {
def presentationTestDependencies = rootProject.ext.presentationTestDependencies
def developmentDependencies = rootProject.ext.developmentDependencies
compile project(':domain')
compile project(':data')
implementation project(':domain')
implementation project(':data')
annotationProcessor presentationDependencies.daggerCompiler
compile presentationDependencies.dagger
compile presentationDependencies.butterKnife
implementation presentationDependencies.dagger
implementation presentationDependencies.butterKnife
annotationProcessor presentationDependencies.butterKnife
compile presentationDependencies.recyclerView
compile presentationDependencies.rxJava
compile presentationDependencies.rxAndroid
provided presentationDependencies.javaxAnnotation
implementation presentationDependencies.recyclerView
implementation presentationDependencies.rxJava
implementation presentationDependencies.rxAndroid
compileOnly presentationDependencies.javaxAnnotation
androidTestCompile presentationTestDependencies.mockito
androidTestCompile presentationTestDependencies.dexmaker
androidTestCompile presentationTestDependencies.dexmakerMockito
androidTestCompile presentationTestDependencies.espresso
androidTestCompile presentationTestDependencies.testingSupportLib
androidTestImplementation presentationTestDependencies.mockito
androidTestImplementation presentationTestDependencies.dexmaker
androidTestImplementation presentationTestDependencies.dexmakerMockito
androidTestImplementation presentationTestDependencies.espresso
androidTestImplementation presentationTestDependencies.testingSupportLib
//Development
compile developmentDependencies.leakCanary
implementation developmentDependencies.leakCanary
}
repositories {