-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdependencies.gradle
140 lines (129 loc) · 7.03 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url 'https://maven.google.com' }
}
}
ext {
//Android
androidBuildToolsVersion = "26.0.1"
androidMinSdkVersion = 19
androidTargetSdkVersion = 26
androidCompileSdkVersion = 26
//Libraries
daggerVersion = '2.11'
supportLibVersion = '26.1.0'
constraintLayoutVersion = '1.0.2'
multitypeVersion = '3.3.0'
rxJavaVersion = '2.1.3'
rxAndroidVersion = '2.0.1'
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
gsonVersion = '2.3'
okHttpVersion = '3.9.0'
androidAnnotationsVersion = '21.0.3'
arrowVersion = '1.0.0'
retrofitVersion = '2.3.0'
glideVersion = '4.1.1'
circleImageViewVersion = '2.1.0'
ijkplayerVersion = '0.8.4'
videocacheVerision = '2.7.0'
flexboxVerision = '0.3.1'
leakCanaryVersion = '1.5.4'
roomVersion = '1.0.0'
lifecycleVersion = '1.0.3'
lifecycleCompileVersion = '1.0.0'
//Testing
robolectricVersion = '3.1.1'
jUnitVersion = '4.12'
assertJVersion = '1.7.1'
mockitoVersion = '1.9.5'
dexmakerVersion = '1.0'
espressoVersion = '2.0'
testingSupportLibVersion = '0.1'
//Development
leakCanaryVersion = '1.3.1'
commonLibDependencies = [
design : "com.android.support:design:${supportLibVersion}",
constraintLayout: "com.android.support.constraint:constraint-layout:${constraintLayoutVersion}",
ijkplayerjava : "tv.danmaku.ijk.media:ijkplayer-java:${ijkplayerVersion}",
ijkplayerarm : "tv.danmaku.ijk.media:ijkplayer-armv7a:${ijkplayerVersion}",
ijkplayerexo : "tv.danmaku.ijk.media:ijkplayer-exo:${ijkplayerVersion}",
ijkplayerarmv5 : "tv.danmaku.ijk.media:ijkplayer-armv5:${ijkplayerVersion}",
ijkplayerarm64 : "tv.danmaku.ijk.media:ijkplayer-arm64:${ijkplayerVersion}",
ijkplayerx86 : "tv.danmaku.ijk.media:ijkplayer-x86:${ijkplayerVersion}",
ijkplayerx86_64 : "tv.danmaku.ijk.media:ijkplayer-x86_64:${ijkplayerVersion}",
multitype : "me.drakeet.multitype:multitype:${multitypeVersion}",
lifecyler : "android.arch.lifecycle:common:${lifecycleVersion}"
]
presentationDependencies = [
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
glide : "com.github.bumptech.glide:glide:${glideVersion}",
design : "com.android.support:design:${supportLibVersion}",
cardview : "com.android.support:cardview-v7:${supportLibVersion}",
palette : "com.android.support:palette-v7:${supportLibVersion}",
constraintLayout : "com.android.support.constraint:constraint-layout:${constraintLayoutVersion}",
multitype : "me.drakeet.multitype:multitype:${multitypeVersion}",
rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
circleImageView : "de.hdodenhof:circleimageview:${circleImageViewVersion}",
videocache : "com.danikula:videocache:${videocacheVerision}",
flexbox : "com.google.android:flexbox:${flexboxVerision}",
leakCanary_debug : "com.squareup.leakcanary:leakcanary-android:${leakCanaryVersion}",
leakCanary_release: "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryVersion}",
lifecycleRuntime : "android.arch.lifecycle:runtime:${lifecycleVersion}",
lifecycleProcessor: "android.arch.lifecycle:compiler:${lifecycleCompileVersion}",
roomRuntime : "android.arch.persistence.room:runtime:${roomVersion}",
roomRxJava : "android.arch.persistence.room:rxjava2:${roomVersion}",
roomProcessor : "android.arch.persistence.room:compiler:${roomVersion}",
// javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}"
]
presentationTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}",
dexmaker : "com.google.dexmaker:dexmaker:${dexmakerVersion}",
dexmakerMockito : "com.google.dexmaker:dexmaker-mockito:${dexmakerVersion}",
espresso : "com.android.support.test.espresso:espresso-core:${espressoVersion}",
testingSupportLib: "com.android.support.test:testing-support-lib:${testingSupportLibVersion}",
]
domainDependencies = [
// javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
// javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
]
domainTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
mockito: "org.mockito:mockito-core:${mockitoVersion}",
assertj: "org.assertj:assertj-core:${assertJVersion}"
]
dataDependencies = [
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverterGson: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitRxJavaAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}",
okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpLog : "com.squareup.okhttp3:logging-interceptor:${okHttpVersion}",
gson : "com.google.code.gson:gson:${gsonVersion}",
rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
roomRuntime : "android.arch.persistence.room:runtime:${roomVersion}",
roomRxJava : "android.arch.persistence.room:rxjava2:${roomVersion}",
roomProcessor : "android.arch.persistence.room:compiler:${roomVersion}",
androidAnnotations : "com.android.support:support-annotations:${androidAnnotationsVersion}"
]
dataTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
assertj : "org.assertj:assertj-core:${assertJVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}",
robolectric: "org.robolectric:robolectric:${robolectricVersion}",
]
developmentDependencies = [
leakCanary: "com.squareup.leakcanary:leakcanary-android:${leakCanaryVersion}",
]
}