-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
97 lines (87 loc) · 4.6 KB
/
dependencies.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
allprojects {
repositories {
jcenter()
}
}
ext {
//Android
appVersionCode = 1
appVersionName = '1.0'
androidBuildToolsVersion = '25.0.2'
androidMinSdkVersion = 15
androidTargetSdkVersion = 23
androidCompileSdkVersion = 23
androidSupportVersion = '23.2.1'
//Libraries
daggerVersion = '2.11'
butterKnifeVersion = '7.0.1'
rxJavaVersion = '2.1.4'
rxAndroidVersion = '2.0.1'
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
retrofitVersion = '2.3.0'
retrofitLoggingVersion = '3.9.0'
retrofitRxJava2AdapterVersion = '1.0.0'
timberVersion = '4.5.1'
//Testing
jUnitVersion = '4.10'
mockitoVersion = '1.9.5'//'2.0.43-beta', wait for dexmaker
dexmakerVersion = '1.4'
mockWebServerVersion = '3.2.0'
commonsIOVersion = '2.4'
jetAnnotationVersion = '15.0'
espressoVersion = '2.2.2'
domainDependencies = [
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitGson: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitRxJava: "com.squareup.retrofit2:adapter-rxjava:${retrofitVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJavaVersion}"
]
domainTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
mockito: "org.mockito:mockito-core:${mockitoVersion}",
jetAnnotations: "org.jetbrains:annotations-java5:${jetAnnotationVersion}"
]
dataDependencies = [
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitGson: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitRxJava2: "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:${retrofitRxJava2AdapterVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
timber: "com.jakewharton.timber:timber:${timberVersion}",
retrofitLogging: "com.squareup.okhttp3:logging-interceptor:${retrofitLoggingVersion}"
]
dataTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
mockito: "org.mockito:mockito-core:${mockitoVersion}",
mockWebServer: "com.squareup.okhttp3:mockwebserver:${mockWebServerVersion}",
commonsIO: "commons-io:commons-io:${commonsIOVersion}"
]
presentationDependencies = [
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
butterKnife: "com.jakewharton:butterknife:${butterKnifeVersion}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
androidCompatv7: "com.android.support:appcompat-v7:${androidSupportVersion}",
androidSupportv4: "com.android.support:support-v4:${androidSupportVersion}",
androidDesign: "com.android.support:design:${androidSupportVersion}",
timber: "com.jakewharton.timber:timber:${timberVersion}",
retrofitLogging: "com.squareup.okhttp3:logging-interceptor:${retrofitLoggingVersion}"
]
presentationTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
mockito: "org.mockito:mockito-core:${mockitoVersion}",
dexmaker: "com.crittercism.dexmaker:dexmaker:${dexmakerVersion}",
dexmakerDx: "com.crittercism.dexmaker:dexmaker-dx:${dexmakerVersion}",
dexmakerParent: "com.crittercism.dexmaker:dexmaker-parent:${dexmakerVersion}",
dexmakerMockito: "com.crittercism.dexmaker:dexmaker-mockito:${dexmakerVersion}",
androidAnnotations: "com.android.support:support-annotations:${androidSupportVersion}",
espresso: "com.android.support.test.espresso:espresso-core:${espressoVersion}",
espressoIntents: "com.android.support.test.espresso:espresso-intents:${espressoVersion}",
espressoWeb: "com.android.support.test.espresso:espresso-web:${espressoVersion}",
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}"
]
}