1+ buildscript {
2+ repositories {
3+ mavenCentral()
4+ }
5+ dependencies {
6+ classpath ' me.tatarka:gradle-retrolambda:3.2.3'
7+ }
8+ }
9+
110apply plugin : ' com.android.application'
211apply plugin : ' com.neenbedankt.android-apt'
312apply plugin : ' com.fernandocejas.frodo'
13+ apply plugin : ' me.tatarka.retrolambda'
414
515android {
616 def globalConfiguration = rootProject. extensions. getByName(" ext" )
@@ -20,8 +30,8 @@ android {
2030 }
2131
2232 compileOptions {
23- sourceCompatibility JavaVersion . VERSION_1_7
24- targetCompatibility JavaVersion . VERSION_1_7
33+ sourceCompatibility JavaVersion . VERSION_1_8
34+ targetCompatibility JavaVersion . VERSION_1_8
2535 }
2636
2737 packagingOptions {
@@ -61,17 +71,19 @@ android {
6171dependencies {
6272 def presentationDependencies = rootProject. ext. presentationDependencies
6373 def presentationTestDependencies = rootProject. ext. presentationTestDependencies
74+ def dataDependencies = rootProject. ext. dataDependencies
75+ def testDependencies = rootProject. ext. dataTestDependencies
6476 def developmentDependencies = rootProject. ext. developmentDependencies
6577
66- compile project(' :domain' )
67- compile project(' :data' )
68-
6978 apt presentationDependencies. daggerCompiler
7079 compile presentationDependencies. dagger
80+ compile dataDependencies. okHttp
81+ compile dataDependencies. gson
7182 compile presentationDependencies. butterKnife
7283 compile presentationDependencies. recyclerView
7384 compile presentationDependencies. rxJava
7485 compile presentationDependencies. rxAndroid
86+ compile dataDependencies. androidAnnotations
7587 provided presentationDependencies. javaxAnnotation
7688
7789 androidTestCompile presentationTestDependencies. mockito
@@ -80,6 +92,11 @@ dependencies {
8092 androidTestCompile presentationTestDependencies. espresso
8193 androidTestCompile presentationTestDependencies. testingSupportLib
8294
95+ testCompile testDependencies. junit
96+ testCompile testDependencies. assertj
97+ testCompile testDependencies. mockito
98+ testCompile testDependencies. robolectric
99+
83100 // Development
84101 compile developmentDependencies. leakCanary
85102}
0 commit comments