mirror of
https://github.com/android10/Android-CleanArchitecture.git
synced 2026-03-13 10:13:41 +08:00
update build.gradle to clean warnings. update retrolambda to 3.7.0
This commit is contained in:
@@ -8,7 +8,7 @@ buildscript {
|
|||||||
google()
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
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'
|
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
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 dataDependencies = rootProject.ext.dataDependencies
|
||||||
def testDependencies = rootProject.ext.dataTestDependencies
|
def testDependencies = rootProject.ext.dataTestDependencies
|
||||||
|
|
||||||
compile project(':domain')
|
implementation project(':domain')
|
||||||
provided dataDependencies.javaxAnnotation
|
compileOnly dataDependencies.javaxAnnotation
|
||||||
compile dataDependencies.javaxInject
|
implementation dataDependencies.javaxInject
|
||||||
compile dataDependencies.okHttp
|
implementation dataDependencies.okHttp
|
||||||
compile dataDependencies.gson
|
implementation dataDependencies.gson
|
||||||
compile dataDependencies.rxJava
|
implementation dataDependencies.rxJava
|
||||||
compile dataDependencies.rxAndroid
|
implementation dataDependencies.rxAndroid
|
||||||
compile dataDependencies.androidAnnotations
|
implementation dataDependencies.androidAnnotations
|
||||||
|
|
||||||
testCompile testDependencies.junit
|
testImplementation testDependencies.junit
|
||||||
testCompile testDependencies.assertj
|
testImplementation testDependencies.assertj
|
||||||
testCompile testDependencies.mockito
|
testImplementation testDependencies.mockito
|
||||||
testCompile testDependencies.robolectric
|
testImplementation testDependencies.robolectric
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ dependencies {
|
|||||||
def domainDependencies = rootProject.ext.domainDependencies
|
def domainDependencies = rootProject.ext.domainDependencies
|
||||||
def domainTestDependencies = rootProject.ext.domainTestDependencies
|
def domainTestDependencies = rootProject.ext.domainTestDependencies
|
||||||
|
|
||||||
provided domainDependencies.javaxAnnotation
|
compileOnly domainDependencies.javaxAnnotation
|
||||||
|
|
||||||
compile domainDependencies.javaxInject
|
implementation domainDependencies.javaxInject
|
||||||
compile domainDependencies.rxJava
|
implementation domainDependencies.rxJava
|
||||||
compile domainDependencies.arrow
|
compile domainDependencies.arrow
|
||||||
|
|
||||||
testCompile domainTestDependencies.junit
|
testImplementation domainTestDependencies.junit
|
||||||
testCompile domainTestDependencies.mockito
|
testImplementation domainTestDependencies.mockito
|
||||||
testCompile domainTestDependencies.assertj
|
testImplementation domainTestDependencies.assertj
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,26 +62,26 @@ dependencies {
|
|||||||
def presentationTestDependencies = rootProject.ext.presentationTestDependencies
|
def presentationTestDependencies = rootProject.ext.presentationTestDependencies
|
||||||
def developmentDependencies = rootProject.ext.developmentDependencies
|
def developmentDependencies = rootProject.ext.developmentDependencies
|
||||||
|
|
||||||
compile project(':domain')
|
implementation project(':domain')
|
||||||
compile project(':data')
|
implementation project(':data')
|
||||||
|
|
||||||
annotationProcessor presentationDependencies.daggerCompiler
|
annotationProcessor presentationDependencies.daggerCompiler
|
||||||
compile presentationDependencies.dagger
|
implementation presentationDependencies.dagger
|
||||||
compile presentationDependencies.butterKnife
|
implementation presentationDependencies.butterKnife
|
||||||
annotationProcessor presentationDependencies.butterKnife
|
annotationProcessor presentationDependencies.butterKnife
|
||||||
compile presentationDependencies.recyclerView
|
implementation presentationDependencies.recyclerView
|
||||||
compile presentationDependencies.rxJava
|
implementation presentationDependencies.rxJava
|
||||||
compile presentationDependencies.rxAndroid
|
implementation presentationDependencies.rxAndroid
|
||||||
provided presentationDependencies.javaxAnnotation
|
compileOnly presentationDependencies.javaxAnnotation
|
||||||
|
|
||||||
androidTestCompile presentationTestDependencies.mockito
|
androidTestImplementation presentationTestDependencies.mockito
|
||||||
androidTestCompile presentationTestDependencies.dexmaker
|
androidTestImplementation presentationTestDependencies.dexmaker
|
||||||
androidTestCompile presentationTestDependencies.dexmakerMockito
|
androidTestImplementation presentationTestDependencies.dexmakerMockito
|
||||||
androidTestCompile presentationTestDependencies.espresso
|
androidTestImplementation presentationTestDependencies.espresso
|
||||||
androidTestCompile presentationTestDependencies.testingSupportLib
|
androidTestImplementation presentationTestDependencies.testingSupportLib
|
||||||
|
|
||||||
//Development
|
//Development
|
||||||
compile developmentDependencies.leakCanary
|
implementation developmentDependencies.leakCanary
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
Reference in New Issue
Block a user