-
Notifications
You must be signed in to change notification settings - Fork 0
/
depends.gradle
136 lines (122 loc) · 6.15 KB
/
depends.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
ext {
libs = [
main : [
/**
* Common dependencies from google, every subject may need them
*/
common : [
"com.android.support:appcompat-v7:${versions.support}",
"com.android.support:support-v4:${versions.support}",
"com.android.support:design:${versions.support}",
"com.android.support:percent:${versions.support}",
"com.android.support:cardview-v7:${versions.support}",
"com.android.support.constraint:constraint-layout:${versions.constraintLayout}",
"com.android.support:multidex:${versions.multidex}"
],
/**
* Apache commons util libraries
*/
apacheCommons : [
codec: "commons-codec:commons-codec:${versions.apacheCommons.codec}"
],
/**
* Google util libraries for android (version like 'xx.xx-android')
*/
guava : "com.google.guava:guava:${versions.guava}",
/**
* Android UI injection libraries
*/
butterKnife : "com.jakewharton:butterknife:${versions.butterKnife}",
/**
* Android preference file mapping libraries
*/
storeBox : "net.orange-box.storebox:storebox-lib:${versions.storeBox}",
/**
* SQLite ORM libraries
*/
dbflow : [
"com.github.Raizlabs.DBFlow:dbflow-core:${versions.DBFlow}",
"com.github.Raizlabs.DBFlow:dbflow:${versions.DBFlow}"
],
/**
* SQLite ORM libraries for kotlin language
*/
dbflowKotlin : [
"com.github.Raizlabs.DBFlow:dbflow-kotlinextensions:${versions.DBFlow}"
],
/**
* Kotlin language support libraries
*/
kotlin : [
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
"org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin}",
"org.jetbrains.anko:anko:${versions.anko}"
],
/**
* Google Dependence Injection (DI) framework for android
*/
dagger : [
"com.google.dagger:dagger:${versions.dagger}",
"com.google.dagger:dagger-android:${versions.dagger}",
"com.google.dagger:dagger-android-support:${versions.dagger}"
],
/**
* HTTP remote call libraries
*/
okhttp : "com.squareup.okhttp3:okhttp:${versions.okhttp}",
/**
* JSON serialize / deserialize libraries
*/
jackson : [
"com.fasterxml.jackson.core:jackson-core:${versions.jackson}",
"com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
],
/**
* Android asynchronous call and thread management libraries
*/
rx : [
"io.reactivex.rxjava2:rxjava:${versions.rx}",
"io.reactivex.rxjava2:rxandroid:${versions.rxAndroid}"
],
/**
* Android socket libraries with nio
*/
netty : [
"io.netty:netty-all:${versions.netty}"
],
/**
* Primary annotations (like @Nonnull, @Nullable)
*/
androidAnnotation: "com.android.support:support-annotations:${versions.support}",
/**
* facebook debug tool for chrome
*/
stetho : "com.facebook.stetho:stetho:${versions.stetho}",
],
annotation: [
butterKnife: "com.jakewharton:butterknife-compiler:${versions.butterKnife}",
dbflow : "com.github.Raizlabs.DBFlow:dbflow-processor:${versions.DBFlow}",
dagger : [
"com.google.dagger:dagger-compiler:${versions.dagger}",
"com.google.dagger:dagger-android-processor:${versions.dagger}"
],
],
test : [
java : [
"junit:junit:${versions.testJunit}",
"org.hamcrest:hamcrest-all:${versions.testHamcrest}",
"org.mockito:mockito-all:${versions.testMockito}",
"org.unitils:unitils-core:${versions.testUnitils}",
"org.assertj:assertj-core:${versions.testAssertj.java}"
],
android: [
"org.mockito:mockito-core:${versions.testMockito}",
"org.unitils:unitils-core:${versions.testUnitils}",
"com.android.support.test:runner:${versions.testRunner}",
"com.android.support.test:rules:${versions.testRunner}",
"com.android.support.test.espresso:espresso-core:${versions.testEspresso}"
]
]
]
}