-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.gradle
146 lines (128 loc) · 9.54 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
ext {
android = [
compileSdkVersion: 28,
buildToolsVersion: "28.0.3",
minSdkVersion : 17,
targetSdkVersion : 28,
versionCode : 29,
versionName : "1.0.1.9" //必须是int或者float,否则影响线上升级
]
version = [
androidSupportSdkVersion: "28.0.0",
retrofitSdkVersion : "2.4.0",
glideSdkVersion : "4.8.0",
canarySdkVersion : "1.5.4",
constraintVersion : "1.0.2",
okhttp : "3.8.1",
rxlifecycle2SdkVersion : "2.2.2",
rxlifecycle3 : "3.0.0",
xNormalVersion : "1.0.0",
ankoVersion : "0.10.8",
]
dependencies = [
//kotlin
"anko" : "org.jetbrains.anko:anko-common:${version["ankoVersion"]}",
"anko-sdk" : "org.jetbrains.anko:anko-sdk25:${version["ankoVersion"]}",
"anko-design" : "org.jetbrains.anko:anko-design:${version["ankoVersion"]}",
"anko-v4" : "org.jetbrains.anko:anko-support-v4:${version["ankoVersion"]}",
"rxlifecycle3-ktx" : "com.trello.rxlifecycle3:rxlifecycle-kotlin:${version["rxlifecycle3"]}",
"rxlifecycle3-ktx-life" : "com.trello.rxlifecycle3:rxlifecycle-kotlin:${version["rxlifecycle3"]}",
//android x
"rxlifecycle3" : "com.trello.rxlifecycle3:rxlifecycle:${version["rxlifecycle3"]}",
"rxlifecycle3-android" : "com.trello.rxlifecycle3:rxlifecycle-android:${version["rxlifecycle3"]}",
"rxlifecycle3-android-life" : "com.trello.rxlifecycle3:rxlifecycle-android-lifecycle:${version["rxlifecycle3"]}",
"rxlifecycle3-components" : "com.trello.rxlifecycle3:rxlifecycle-components:${version["rxlifecycle3"]}",
"appcompat-v7-x" : "androidx.appcompat:appcompat:${version["xNormalVersion"]}",
"support-v4-x" : "androidx.legacy:legacy-support-v4:${version["xNormalVersion"]}",
"design-x" : "com.google.android.material:material:${version["xNormalVersion"]}",
"recyclerview-x" : "androidx.recyclerview:recyclerview:${version["xNormalVersion"]}",
"multidex-x" : "androidx.multidex:multidex:2.0.0",
"constraint-x" : "androidx.constraintlayout:constraintlayout:2.0.0-alpha3",
//support
"appcompat-v7" : "com.android.support:appcompat-v7:${version["androidSupportSdkVersion"]}",
"design" : "com.android.support:design:${version["androidSupportSdkVersion"]}",
"palette" : "com.android.support:palette-v7:${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"]}",
"constraint-layout" : "com.android.support.constraint:constraint-layout:${version["constraintVersion"]}",
"percent" : "com.android.support:percent:${version["androidSupportSdkVersion"]}",
"dynamic" : "com.android.support:support-dynamic-animation:${version["androidSupportSdkVersion"]}",
"multidex" : "com.android.support:multidex:1.0.2",
//network
"retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitSdkVersion"]}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${version["retrofitSdkVersion"]}",
"okhttp3" : "com.squareup.okhttp3:okhttp:${version["okhttp"]}",
"logging-interceptor" : "com.squareup.okhttp3:logging-interceptor:${version["okhttp"]}",
"rxrelay" : "com.jakewharton.rxrelay2:rxrelay:2.0.0",
"stetho" : 'com.facebook.stetho:stetho:1.5.0',
"stetho-okhttp3" : 'com.facebook.stetho:stetho-okhttp3:1.5.0',
"retorfitUrlManager" : 'me.jessyan:retrofit-url-manager:1.4.0',
"retrofit-converter-fastj" : 'org.ligboy.retrofit2:converter-fastjson-android:2.1.0',
//rx2
"rxandroid2" : "io.reactivex.rxjava2:rxandroid:2.1.0",
"rxjava2" : "io.reactivex.rxjava2:rxjava:2.2.3",
"rxlifecycle2" : "com.trello.rxlifecycle2:rxlifecycle:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-android" : "com.trello.rxlifecycle2:rxlifecycle-android:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-android-life" : "com.trello.rxlifecycle2:rxlifecycle-android-lifecycle:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-components" : "com.trello.rxlifecycle2:rxlifecycle-components:${version["rxlifecycle2SdkVersion"]}",
"rxcache2" : "com.github.VictorAlbertos.RxCache:runtime:1.8.3-2.x",
"rxcache-jolyglot-gson" : "com.github.VictorAlbertos.Jolyglot:gson:0.0.4",
"rxpermissions2" : "com.github.tbruyelle:rxpermissions:0.12",
"rxerrorhandler2" : "me.jessyan:rxerrorhandler:2.1.1",
//router
"arouter" : "com.alibaba:arouter-api:1.4.1",
"arouter-compiler" : "com.alibaba:arouter-compiler:1.2.2",
//image
"glide" : "com.github.bumptech.glide:glide:${version["glideSdkVersion"]}",
"glide-compiler" : "com.github.bumptech.glide:compiler:${version["glideSdkVersion"]}",
"glide-transformations" : "jp.wasabeef:glide-transformations:3.3.0",
"picasso" : "com.squareup.picasso:picasso:2.5.2",
"takephoto" : "com.jph.takephoto:takephoto_library:4.0.3",
"imagepicker" : "com.lzy.widget:imagepicker:0.5.0",
//tools
"eventbus" : "org.greenrobot:eventbus:3.0.0",
"utilcode" : "com.blankj:utilcode:1.23.7",
"easypermissions" : "pub.devrel:easypermissions:1.0.1",
"timber" : "com.jakewharton.timber:timber:4.7.1",
"androidEventBus" : 'com.jeremyliao:live-event-bus:1.4.0',
//view
"lottie" : "com.airbnb.android:lottie:2.7.0",
"autosize" : "me.jessyan:autosize:1.1.1",
"adapterHelper" : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.44',
"bottom-tab" : 'me.majiajie:pager-bottom-tab-strip:2.3.0',//navigation-bar
"gloading" : 'com.billy.android:gloading:1.0.0',//statusLayout
"smartRefresh" : 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14',
"smartHeader" : 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-14',
"basePopup" : 'com.github.razerdp:BasePopup:2.1.9',
"loadingBall" : 'com.github.glomadrian:loadingballs:1.1@aar',
//imageload
"imageloader-frame" : "com.ladingwu.library:imageloader-framework:0.0.9",
"imageloader-fresco" : "com.ladingwu.library:fresco:0.0.9",
"imageloader-glide" : "com.ladingwu.library:glide:0.0.9",
"fresco" : "com.facebook.fresco:fresco:2.0.0",
"fresco-gif" : "com.facebook.fresco:animated-gif:2.0.0",
"fresco-anim-base" : "com.facebook.fresco:animated-base:2.0.0",
"fresco-ok3" : "com.facebook.fresco:imagepipeline-okhttp3:0.12.0+",
"image-scale" : "com.davemorrissey.labs:subsampling-scale-image-view:3.10.0",
//immersionbar
"immersionbar-base" : 'com.gyf.immersionbar:immersionbar:3.0.0',
"immersionbar-components" : 'com.gyf.immersionbar:immersionbar-components:3.0.0',
"immersionbar-ktx" : 'com.gyf.immersionbar:immersionbar-ktx:3.0.0',
"toast" : 'com.hjq:toast:6.0',
//engine
"weex" : "com.taobao.android:weex_sdk:0.20.0.2@aar",
"cordova-fasterxml-core" : 'com.fasterxml.jackson.core:jackson-core:2.4.4',
"cordova-fasterxml-databind": 'com.fasterxml.jackson.core:jackson-databind:2.4.4',
//json
"fastjson" : "com.alibaba:fastjson:1.2.17",
"gson" : 'com.google.code.gson:gson:2.8.5',
//cache
"disklru" : 'com.jakewharton:disklrucache:2.0.2',
//sugar
"sugar" : 'com.github.wobiancao:sugar:1.0.1.5',
"kotAdapter" : 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
]
}