-
Notifications
You must be signed in to change notification settings - Fork 1
/
version.gradle
170 lines (155 loc) · 10.6 KB
/
version.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
ext {
android = [
compileSdkVersion : 28,
minSdkVersion : 15,
targetSdkVersion : 28,
versionCode : 1,
versionName : '0.1.0',
VSupportSdk : '28.0.0',
VAndroidX : '1.0.0',
VJunit : '4.12',
VRxlifecycle : "3.0.0",
//db
VRoom : "2.1.0-rc01",
//RX
VRxandroid : "2.1.1",
VRxjava : "2.2.9",
VRxbinding : "2.0.0",
VRxpermissions : "0.10.2",
//network
VRetrofitSdk : "2.5.0",
VOkhttp : "3.12.0",
VOkIntegration : "4.11.0",
VGson : "2.8.5",
VGlide : "4.11.0",
Vjackson : "2.9.1",
VProtobufLite : "3.0.1",
//canary.
VBlockcanary : "1.2.1",
VLeakcanary : "1.5",
//log
VLogger : "2.2.0",
VTimber : "4.6.1",
//other
VFlycoDialog_Lib : "1.3.2@aar",
VFragmentation : "1.0.0",
VEventbus : "3.1.1",
VAvi_loading : "2.1.3",
VJpush : "3.0.5",
VJcore : "1.1.2",
VMultidex : "1.0.2",
VRxCache : "1.8.3-2.x",
VJolyglotGson : "0.0.4",
//di
VDagger : "2.45",
VButterknife : "8.4.0",
VAroutercompiler : "1.5.2",
VArouterapi : "1.5.2",
//ui
VBaseAdapterHelper : "2.9.45-androidx",
VConstraintLayout : "1.1.3",
VUltraPtr : "1.0.11",
VFlycoTabLayout_Lib : "2.1.2@aar",
VBanner : "1.4.10",
VOverscrollDecorAndroid: "1.0.4",
VGlideTransformations : "4.0.1",
VPhotoview : "2.3.0",
VMarqueelibrary : "1.4.1",
VVlayout : "1.2.8@aar",
VCountdownview : "2.1.6",
VMagicIndicator : "1.6.0",
VSwitchbutton : "2.0.0",
// VPickerView : "3.2.6",
VZxingAndroidEmbedded : "3.6.0",
VZxing : "3.4.0",
VFlowlayout : "1.1.2",
]
//上传时修改aar版本号
uploadArchives = [
]
dependencies = [
//UI
"junit" : "junit:junit:${android["VJunit"]}",
"appcompat-v7" : 'androidx.appcompat:appcompat:1.0.0',
"constraint-layout" : "androidx.constraintlayout:constraintlayout:${android["VConstraintLayout"]}",
"support-v4" : "androidx.legacy:legacy-support-v4:${android["VAndroidX"]}",
"design" : "com.google.android.material:material:1.0.0-rc01",
"annotations" : "androidx.annotation:annotation:${android["VAndroidX"]}",
"recyclerview-v7" : "androidx.recyclerview:recyclerview:${android["VAndroidX"]}",
"palette-v7" : "androidx.palette:palette:${android["VAndroidX"]}",
"circular-progress-button-v7" : "com.github.dmytrodanylyk.circular-progress-button:library:1.1.3",
"cardview-v7" : "androidx.cardview:cardview:${android["VAndroidX"]}",
"BaseRecyclerViewAdapterHelper": "com.github.CymChad:BaseRecyclerViewAdapterHelper:${android["VBaseAdapterHelper"]}",
"ultra-ptr" : "in.srain.cube:ultra-ptr:${android["VUltraPtr"]}",
"FlycoDialog_Lib" : "com.flyco.dialog:FlycoDialog_Lib:${android["VFlycoDialog_Lib"]}",
"FlycoTabLayout_Lib" : "com.flyco.tablayout:FlycoTabLayout_Lib:${android["VFlycoTabLayout_Lib"]}",
"banner" : "com.youth.banner:banner:${android["VBanner"]}",
"percent" : "androidx.percentlayout:percentlayout:${android["VAndroidX"]}",
"overscroll-decor-android" : "me.everything:overscroll-decor-android:${android["VOverscrollDecorAndroid"]}",
"glide-transformations" : "jp.wasabeef:glide-transformations:${android["VGlideTransformations"]}",
"photoview" : "com.github.chrisbanes.photoview:${android["VPhotoview"]}",
"marqueelibrary" : "com.sunfusheng:marqueeview:${android["VMarqueelibrary"]}",
"vlayout" : "com.alibaba.android:vlayout:${android["VVlayout"]}",
"countdownview" : "com.github.iwgang:countdownview:${android["VCountdownview"]}",
"MagicIndicator" : "com.github.hackware1993:MagicIndicator:${android["VMagicIndicator"]}",
"switchbutton" : "com.kyleduo.switchbutton:library:${android["VSwitchbutton"]}",
"zxing-android-embedded" : "com.journeyapps:zxing-android-embedded:${android["VZxingAndroidEmbedded"]}",
"zxing" : "com.google.zxing:core:${android["VZxing"]}",
"flowlayout" : "com.hyman:flowlayout-lib:${android["VFlowlayout"]}",
"avi-loading" : "com.wang.avi:library:${android["VAvi_loading"]}",
//rx
"rxandroid" : "io.reactivex.rxjava2:rxandroid:${android["VRxandroid"]}",
"rxjava" : "io.reactivex.rxjava2:rxjava:${android["VRxjava"]}",
"rxpermissions" : "com.github.tbruyelle:rxpermissions:${android["VRxpermissions"]}",
"rxlifecycle" : "com.trello.rxlifecycle3:rxlifecycle:${android["VRxlifecycle"]}",
"rxlifecycle-android" : "com.trello.rxlifecycle3:rxlifecycle-android:${android["VRxlifecycle"]}",
"rxlifecycle-components" : "com.trello.rxlifecycle3:rxlifecycle-components:${android["VRxlifecycle"]}",
//network
"gson" : "com.google.code.gson:gson:${android["VGson"]}",
"retrofit" : "com.squareup.retrofit2:retrofit:${android["VRetrofitSdk"]}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${android["VRetrofitSdk"]}",
"retrofit-converter-jackson" : "com.squareup.retrofit2:converter-jackson:${android["VRetrofitSdk"]}",
"retrofit-adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava2:${android["VRetrofitSdk"]}",
"retrofit-converter-protobuf" : "com.squareup.retrofit2:converter-protobuf:${android["VRetrofitSdk"]}",
"okhttp3-logging-interceptor" : "com.squareup.okhttp3:logging-interceptor:${android["VOkhttp"]}",
"okhttp3" : "com.squareup.okhttp3:okhttp:${android["VOkhttp"]}",
"jackson-core" : "com.fasterxml.jackson.core:jackson-core:${android["Vjackson"]}",
"jackson-annotation" : "com.fasterxml.jackson.core:jackson-annotations:${android["Vjackson"]}",
"glide" : "com.github.bumptech.glide:glide:${android["VGlide"]}",
"glide-okhttp3-integration" : "com.github.bumptech.glide:okhttp3-integration:${android["VOkIntegration"]}",
"protobuf-lite" : "com.google.protobuf:protobuf-lite:${android["VProtobufLite"]}",
//canary
"blockcanary-debug" : "com.github.moduth:blockcanary-android:${android["VBlockcanary"]}",
"blockcanary-release" : "com.github.moduth:blockcanary-no-op:${android["VBlockcanary"]}",
"canary-debug" : "com.squareup.leakcanary:leakcanary-android:${android["VLeakcanary"]}",
"canary-release" : "com.squareup.leakcanary:leakcanary-android-no-op:${android["VLeakcanary"]}",
"canary-test" : "com.squareup.leakcanary:leakcanary-android-no-op:${android["VLeakcanary"]}",
//Cookie
"PersistentCookieJar" : "com.github.franmontiel:PersistentCookieJar:v1.0.0",
//db
"room-runtime" : "androidx.room:room-runtime:${android["VRoom"]}",
"room-compiler" : "androidx.room:room-compiler:${android["VRoom"]}",
"room-rxjava2" : "androidx.room:room-rxjava2:${android["VRoom"]}",
"room-testing" : "androidx.room:room-testing:${android["VRoom"]}",
"room-guava" : "androidx.room:room-guava:${android["VRoom"]}",
//log
"timber" : "com.jakewharton.timber:timber:${android["VTimber"]}",
"logger" : "com.orhanobut:logger:${android["VLogger"]}",
//other
"fragmentation" : "com.github.chengzichen:Fragmentation:${android["VFragmentation"]}",
"eventbus" : "org.greenrobot:eventbus:${android["VEventbus"]}",
"jpush" : "cn.jiguang.sdk:jpush:${android["VJpush"]}",
"jcore" : "cn.jiguang.sdk:jcore:${android["VJcore"]}",
"multidex" : "com.android.support:multidex:${android["VMultidex"]}",
"RxCache" : "com.github.VictorAlbertos.RxCache:runtime:${android["VRxCache"]}",
"Jolyglot-Gson" : "com.github.VictorAlbertos.Jolyglot:gson:${android["VJolyglotGson"]}",
//di
"javax.annotation" : 'com.github.pengrad:jdk9-deps:1.0',
"dagger" : "com.google.dagger:dagger:${android["VDagger"]}",
"dagger-compiler" : "com.google.dagger:dagger-compiler:${android["VDagger"]}",
"butterknife" : "com.jakewharton:butterknife:${android["VButterknife"]}",
"butterknife-apt" : "com.jakewharton:butterknife-compiler:${android["VButterknife"]}",
"arouter-compiler" : "com.alibaba:arouter-compiler:${android["VAroutercompiler"]}",
"arouter-api" : "com.alibaba:arouter-api:${android["VArouterapi"]}",
]
}