-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gradle
110 lines (99 loc) · 7.59 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
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
ext {
android = [
compileSdkVersion : 28,
buildToolsVersion : "28.0.3",
minSdkVersion : 16,
targetSdkVersion : 26,
versionCode : 51,
versionName : "0.0.1",
]
version = [
androidSupportSdkVersion: "28.0.0",
retrofitSdkVersion : "2.2.0",
dagger2SdkVersion : "2.10",
butterknifeSdkVersion : "8.5.1",
rxlifecycleSdkVersion : "1.0",
espressoSdkVersion : "3.0.2",
canarySdkVersion : "1.5"
]
dependencies = [
//support
"appcompat-v7" : "com.android.support:appcompat-v7:${version["androidSupportSdkVersion"]}",
"design" : "com.android.support:design:${version["androidSupportSdkVersion"]}",
"support-v4" : "com.android.support:support-v4:${version["androidSupportSdkVersion"]}",
"cardview-v7" : "com.android.support:cardview-v7:${version["androidSupportSdkVersion"]}",
"annotations" : "com.android.support:support-annotations:${version["androidSupportSdkVersion"]}",
"recyclerview-v7" : "com.android.support:recyclerview-v7:${version["androidSupportSdkVersion"]}",
//network
"retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitSdkVersion"]}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava:${version["retrofitSdkVersion"]}",
"okhttp3" : "com.squareup.okhttp3:okhttp:3.6.0",
"okhttp3-logging" : "com.squareup.okhttp3:logging-interceptor:3.6.0",
"okhttp-urlconnection" : "com.squareup.okhttp:okhttp-urlconnection:2.0.0",
"glide" : "com.github.bumptech.glide:glide:3.7.0",
"picasso" : "com.squareup.picasso:picasso:2.5.2",
"litepal" : "org.litepal.android:core:1.5.1",
//view
"autolayout" : "com.zhy:autolayout:1.4.5",
"butterknife" : "com.jakewharton:butterknife:${version["butterknifeSdkVersion"]}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeSdkVersion"]}",
"pickerview" : "com.bigkoo:pickerview:2.0.8",
"photoview" : "com.github.chrisbanes.photoview:library:1.2.3",
"numberprogressbar" : "com.daimajia.numberprogressbar:library:1.2@aar",
"nineoldandroids" : "com.nineoldandroids:library:2.4.0",
"paginate" : "com.github.markomilos:paginate:0.5.1",
"fragmentation" : 'me.yokeyword:fragmentation:0.10.3',
"rounderimageview" : "com.makeramen:roundedimageview:2.3.0",
"smart-tablayout" : "com.ogaclejapan.smarttablayout:library:1.6.1@aar",
"flyco-tablayout" : "com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar",
"banner" : "com.youth.banner:banner:1.4.9",
"BaseRecyclerViewAdapterHelper" :'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.16',
"easyRefreshLayout" : 'com.github.anzaizai:EasyRefreshLayout:1.1.6',
"tkrefreshlayout" : 'com.lcodecorex:tkrefreshlayout:1.0.7',
"circleimageview" : 'de.hdodenhof:circleimageview:2.1.0',
"uCrop" : 'com.github.yalantis:ucrop:2.2.1',
"smoothAppBarLayout" : 'me.henrytao:smooth-app-bar-layout:24.1.0.0',
//rx
"rxandroid" : "io.reactivex:rxandroid:1.2.1",
"rxjava" : "io.reactivex:rxjava:1.2.9",
"rxlifecycle" : "com.trello:rxlifecycle:${version["rxlifecycleSdkVersion"]}",
"rxlifecycle-components" : "com.trello:rxlifecycle-components:${version["rxlifecycleSdkVersion"]}",
"rxcache" : "com.github.VictorAlbertos.RxCache:runtime:1.7.0-1.x",
"rxcache-jolyglot-gson" : "com.github.VictorAlbertos.Jolyglot:gson:0.0.4",
"rxbinding-recyclerview-v7": "com.jakewharton.rxbinding:rxbinding-recyclerview-v7:1.0.1",
"rxpermissions" : "com.tbruyelle.rxpermissions:rxpermissions:0.9.3@aar",
"rxerrorhandler" : "me.jessyan:rxerrorhandler:1.0.1",
"rxdownload" : "zlc.season:rxdownload2:2.0.4",
//rx2
"rxandroid2" : "io.reactivex.rxjava2:rxandroid:2.0.1",
"rxjava2" : "io.reactivex.rxjava2:rxjava:2.1.0",
"rxlifecycle2" : "com.trello.rxlifecycle2:rxlifecycle:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-components" : "com.trello.rxlifecycle2:rxlifecycle-components:${version["rxlifecycle2SdkVersion"]}",
"rxcache2" : "com.github.VictorAlbertos.RxCache:runtime:1.8.0-2.x",
"rxpermissions2" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar",
"rxerrorhandler2" : "me.jessyan:rxerrorhandler:2.0.2",
//tools
"dagger2" : "com.google.dagger:dagger:${version["dagger2SdkVersion"]}",
"dagger2-compiler" : "com.google.dagger:dagger-compiler:${version["dagger2SdkVersion"]}",
"androideventbus" : "org.simple:androideventbus:1.0.5.1",
"otto" : "com.squareup:otto:1.3.8",
"gson" : "com.google.code.gson:gson:2.8.0",
"multidex" : 'com.android.support:multidex:1.0.1',
"javax.annotation" : 'javax.annotation:jsr250-api:1.0',
"util-code" : 'com.blankj:utilcode:1.4.1',
"stetho" : 'com.facebook.stetho:stetho:1.3.1',
//test
"junit" : "junit:junit:4.12",
"androidJUnitRunner" : "android.support.test.runner.AndroidJUnitRunner",
"runner" : 'com.android.support.test:runner:1.0.2',
"espresso-core" : "com.android.support.test.espresso:espresso-core:${version["espressoSdkVersion"]}",
"espresso-contrib" : "com.android.support.test.espresso:espresso-contrib:${version["espressoSdkVersion"]}",
"espresso-intents" : "com.android.support.test.espresso:espresso-intents:${version["espressoSdkVersion"]}",
"mockito-core" : "org.mockito:mockito-core:1.+",
"timber" : "com.jakewharton.timber:timber:4.5.1",
"canary-debug" : "com.squareup.leakcanary:leakcanary-android:${version["canarySdkVersion"]}",
"canary-release" : "com.squareup.leakcanary:leakcanary-android-no-op:${version["canarySdkVersion"]}",
"umeng-analytics" : "com.umeng.analytics:analytics:6.0.1"
]
}