forked from codeestX/GeekNews
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gradle
73 lines (64 loc) · 4 KB
/
config.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
ext {
android = [
compileSdkVersion : 25,
buildToolsVersion : '25.0.2',
applicationId : "com.codeest.geeknews",
minSdkVersion : 21,
targetSdkVersion : 25,
versionCode : 130,
versionName : "1.3.0"
]
def dependVersion = [
support : "25.1.0",
retrofit : "2.2.0",
okhttp : "3.6.0",
dagger2 : "2.0.2",
butterknife : "8.2.1",
blockcanary : "1.2.1",
leakcanary : "1.4-beta2"
]
dependencies = [
//base
"appcompat-v7" : "com.android.support:appcompat-v7:${dependVersion.support}",
"cardview-v7" : "com.android.support:cardview-v7:${dependVersion.support}",
"recyclerview-v7" : "com.android.support:recyclerview-v7:${dependVersion.support}",
"design" : "com.android.support:design:${dependVersion.support}",
//ui
"material-calendarview" : "com.prolificinteractive:material-calendarview:1.4.0",
"materialsearchview" : "com.miguelcatalan:materialsearchview:1.4.0",
"multiline-collapsingtoolbar" : "net.opacapp:multiline-collapsingtoolbar:1.3.1",
"PhotoView" : "com.github.chrisbanes:PhotoView:1.3.0",
"glide-transformations" : "jp.wasabeef:glide-transformations:1.2.1",
"html-textview" : "org.sufficientlysecure:html-textview:3.1",
//rx
"rxjava" : "io.reactivex.rxjava2:rxjava:2.0.7",
"rxandroid" : "io.reactivex.rxjava2:rxandroid:2.0.1",
"rxpermissions" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.3@aar",
//network
"gson" : "com.google.code.gson:gson:2.7",
"retrofit" : "com.squareup.retrofit2:retrofit:${dependVersion.retrofit}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${dependVersion.retrofit}",
"retrofit-adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${dependVersion.retrofit}",
"okhttp" : "com.squareup.okhttp3:okhttp:${dependVersion.okhttp}",
"okhttp-logging-interceptor": "com.squareup.okhttp3:logging-interceptor:${dependVersion.okhttp}",
"glide" : "com.github.bumptech.glide:glide:3.7.0",
"glide-okhttp3-integration" : "com.github.bumptech.glide:okhttp3-integration:1.4.0@aar",
"jsoup" : "org.jsoup:jsoup:1.10.1",
//di
"dagger" : "com.google.dagger:dagger:${dependVersion.dagger2}",
"dagger-compiler" : "com.google.dagger:dagger-compiler:${dependVersion.dagger2}",
"butterknife" : "com.jakewharton:butterknife:${dependVersion.butterknife}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${dependVersion.butterknife}",
"annotation" : "org.glassfish:javax.annotation:10.0-b28",
//other
"multidex" : "com.android.support:multidex:1.0.1",
"logger" : "com.orhanobut:logger:1.15",
"fragmentation" : "me.yokeyword:fragmentation:0.10.4",
"crashreport" : "com.tencent.bugly:crashreport:latest.release",
//canary
"blockcanary-android" : "com.github.moduth:blockcanary-android:${dependVersion.blockcanary}",
"blockcanary-no-op" : "com.github.moduth:blockcanary-no-op:${dependVersion.blockcanary}",
"leakcanary-android" : "com.squareup.leakcanary:leakcanary-android:${dependVersion.leakcanary}",
"leakcanary-android-no-op" : "com.squareup.leakcanary:leakcanary-android-no-op:${dependVersion.leakcanary}"
]
}