forked from jiangkang/KTools
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.gradle
130 lines (89 loc) · 5.43 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
ext {
libVersion = [
//project settings
compileSdkVersion : 26,
buildToolsVersion : '26.0.2',
minSdkVersion : 19,
targetSdkVersion : 26,
versionCode : 2,
versionName : '2.0',
//ButterKnife
butterKnifeVersion : '8.2.1',
//android
v7Version : '25.3.1',
"support-version" : '27.0.0',
constraintLayoutVersion: '1.0.2',
//glide
glideVersion : '4.2.0',
//greendao
greendaoVersion : '3.2.2',
eventbusVersion : '3.0.0',
//amap
amapVersion : '',
//leakcanary
leakcanaryVersion : '1.5.1',
rxJavaVersion : '2.1.5',
rxAndroidVersion : '2.0.1',
okhttpVersion : '3.9.0',
daggerVersion : '2.11',
retrofitVersion : '2.3.0',
loggerVersion : '2.1.1',
anko_version : '0.10.3',
]
deps = [
okhttp3 : [
'okhttp' : "com.squareup.okhttp3:okhttp:${libVersion.okhttpVersion}",
'mockwebserver' : "com.squareup.okhttp3:mockwebserver:${libVersion.okhttpVersion}",
'logginginterceptor': "com.squareup.okhttp3:logging-interceptor:${libVersion.okhttpVersion}",
],
arouter : [
'arouter_api' : "com.alibaba:arouter-api:1.2.4",
'arouter_compiler' : "com.alibaba:arouter-compiler:1.1.4",
],
//ButterKnife
butterKnife : "com.jakewharton:butterknife:${libVersion.butterKnifeVersion}",
butterknifeCompiler : "com.jakewharton:butterknife-compiler:${libVersion.butterKnifeVersion}",
//android
appcompat_v7 : "com.android.support:appcompat-v7:${libVersion.v7Version}",
constraint_layout : "com.android.support.constraint:constraint-layout:${libVersion.constraintLayoutVersion}",
recyclerview : "com.android.support:recyclerview-v7:${libVersion.v7Version}",
cardview : "com.android.support:cardview-v7:${libVersion.v7Version}",
'support-annotaions' : "com.android.support:support-annotations:${libVersion.v7Version}",
'support-vector-drawable' : "com.android.support:support-vector-drawable:${libVersion.v7Version}",
//glide
glide : "com.github.bumptech.glide:glide:${libVersion.glideVersion}",
glideCompiler : "com.github.bumptech.glide:compiler:${libVersion.glideVersion}",
glideOkhttp : "com.github.bumptech.glide:okhttp3-integration:4.0.0",
//greendao
greendao : "org.greenrobot:greendao:${libVersion.greendaoVersion}",
//数据库
debug_db : "com.amitshekhar.android:debug-db:1.0.0",
//eventbus
eventbus : "org.greenrobot:eventbus:${libVersion.eventbusVersion}",
//amap
amap_3D : "com.amap.api:3dmap:5.2.1",
amap_2D : "com.amap.api:3dmap:5.2.0",
amap_search : "com.amap.api:search:5.2.1",
amap_navi : "com.amap.api:navi-3dmap:5.2.1",
amap_location : "com.amap.api:location:3.5.0",
//picasso
picasso : "com.squareup.picasso:picasso:2.5.2",
//leakcanary
leakcanary : "com.squareup.leakcanary:leakcanary-android:${libVersion.leakcanaryVersion}",
leakcanary_no_op : "com.squareup.leakcanary:leakcanary-android-no-op:${libVersion.leakcanaryVersion}",
//RxJava
rxJava : "io.reactivex.rxjava2:rxjava:${libVersion.rxJavaVersion}",
rxAndroid : "io.reactivex.rxjava2:rxandroid:${libVersion.rxAndroidVersion}",
zxing : "com.google.zxing:core:3.3.0",
okhttp : "com.squareup.okhttp3:okhttp:${libVersion.okhttpVersion}",
mockwebserver : "com.squareup.okhttp3:mockwebserver:${libVersion.okhttpVersion}",
"okhttp-logging-interceptor": "com.squareup.okhttp3:logging-interceptor:${libVersion.okhttpVersion}",
dagger : "com.google.dagger:dagger:${libVersion.daggerVersion}",
daggerCompiler : "com.google.dagger:dagger-compiler:${libVersion.daggerVersion}",
retrofit : "com.squareup.retrofit2:retrofit:${libVersion.retrofitVersion}",
retrofit_converterJson : "com.squareup.retrofit2:converter-gson:${libVersion.retrofitVersion}",
retrofit_adpter_rxjava2 : "com.squareup.retrofit2:adapter-rxjava2:${libVersion.retrofitVersion}",
"logger" : "com.orhanobut:logger:${libVersion.loggerVersion}",
"anko" : "org.jetbrains.anko:anko:${libVersion.anko_version}",
]
}