-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.gradle
72 lines (64 loc) · 3.45 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
ext {
isAlone = false //false:作为Lib组件存在,true:作为application存在
androidEnv = [
compileSdkVersion: 30,
buildToolsVersion: '30.0.2',
minSdkVersion : 21,
targetSdkVersion : 30,//平板为Android 10(29)
versionCode : 1,
versionName : '1.0.0',
]
signEnv = [
path : '..\\system_signature.keystore',
storePassword: '123456',
alias : 'systemkey',
keyPassword : '123456'
]
// 依赖库管理
mDependencies = [
appcompat : 'androidx.appcompat:appcompat:1.2.0',
constraintlayout: 'androidx.constraintlayout:constraintlayout:2.0.4',
recyclerview : 'androidx.recyclerview:recyclerview:1.2.0-alpha05',
//以下使用rxhttp为必须
rxhttp : 'com.github.liujingxing.rxhttp:rxhttp:2.6.5',
okhttp : 'com.squareup.okhttp3:okhttp:4.9.1' ,
compiler : 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.6.5' ,//Use the annotationProcessor instead of kapt, if you use Java
//管理协程生命周期,页面销毁,关闭请求
coroutine : 'com.ljx.rxlife:rxlife-coroutine:2.0.1',
//rxjava3
rxjava : 'io.reactivex.rxjava3:rxjava:3.0.6',
rxandroid : 'io.reactivex.rxjava3:rxandroid:3.0.0',
rxlifejava : 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.1.0',
//非必须,根据自己需求选择 RxHttp默认内置了GsonConverter
fastjson : 'com.github.liujingxing.rxhttp:converter-fastjson:2.6.5',
ktreflect : "org.jetbrains.kotlin:kotlin-reflect:1.3.72",
easypermissions : 'pub.devrel:easypermissions:3.0.0',
multidex : 'androidx.multidex:multidex:2.0.1',
supportv4 : 'androidx.legacy:legacy-support-v4:1.0.0',
//https://github.com/CymChad/BaseRecyclerViewAdapterHelper
baseRecyclerView: 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6',
glide : 'com.github.bumptech.glide:glide:4.11.0',
//上下拉刷新框
refreshkernel : 'com.scwang.smart:refresh-layout-kernel:2.0.1',
refreshclass : 'com.scwang.smart:refresh-header-classics:2.0.1',
refreshbal : 'com.scwang.smart:refresh-footer-ball:2.0.1',
//空试图布局
loadlayout : 'com.github.czy1121:loadinglayout:1.0.1',
//banner
banner : 'com.youth.banner:banner:2.1.0',
//design
design : 'com.android.support:design:29.0.0',
//搜索/复选样式
flowlayout : 'com.hyman:flowlayout-lib:1.1.2',
//图片缩放
photoview : 'com.github.chrisbanes:PhotoView:2.0.0',
//头条适配
autosize : 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1',
//导航栏https://github.com/H07000223/FlycoTabLayout
flytablelayout : 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar',
logutils : 'com.apkfuns.logutils:library:1.7.5',
// 吐司框架:https://github.com/getActivity/ToastUtils
toastUtils : 'com.github.getActivity:ToastUtils:9.0',
lProgressView : 'com.github.liys666666:LProgressView:V1.0.82',
]
}