-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.gradle
160 lines (135 loc) · 9.15 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
ext {
android = [
compileSdkVersion: 31,
buildToolsVersion: "29.0.2",
minSdkVersion : 23,
targetSdkVersion : 29,
versionCode : 2,
versionName : '1.0.1'
]
dependencies = [
"junit" : 'junit:junit:4.13',
"kotlin_std" : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
"kotlin_reflect" : "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version",
// 引入kotlin协程
"coroutine_core" : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1',
"coroutine_android" : 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1',
//工具类
"androidx_multidex" : "androidx.multidex:multidex:2.0.1",
//android support
"androidx_annotations" : "androidx.annotation:annotation:1.2.0",
"androidx_fragment" : "androidx.fragment:fragment:1.4.0",
"andriodx_appcompat" : "androidx.appcompat:appcompat:1.4.1",
"androidx_constraint_layout" : "androidx.constraintlayout:constraintlayout:2.0.1",
"androidx_recyclerview" : "androidx.recyclerview:recyclerview:1.2.1",
"androidx_cardview" : "androidx.cardview:cardview:1.0.0",
"androidx_gridLayout" : "androidx.gridlayout:gridlayout:1.0.0",
"androidx_core" : "androidx.core:core:1.6.0",
"androidx_arch_core" : "androidx.arch:core:2.1.0",
"androidx_core_ktx" : "androidx.core:core-ktx:1.6.0",
"androidx_collection" : "androidx.collection:collection:1.1.0",
"androidx_viewmodel" : "androidx.lifecycle:lifecycle-viewmodel:2.3.1",
"androidx_viewmodel_ktx" : "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1",
"androidx_lifecycle" : "androidx.lifecycle:lifecycle-common:2.3.1",
"androidx_lifecycle_java8" : "androidx.lifecycle:lifecycle-common-java8:2.3.1",
"androidx_lifecycle_runtime" : "androidx.lifecycle:lifecycle-runtime:2.3.1",
//LifecycleScope
"androidx_lifecycle_runtime_ktx" : "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1",
"androidx_lifecycle_livedata" : "androidx.lifecycle:lifecycle-livedata:2.3.1",
//liveDataScope
"androidx_lifecycle_livedata_ktx": 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1',
"androidx_lifecycle_extensions" : "androidx.lifecycle:lifecycle-extensions:2.2.0",
"androidx_material_design" : "com.google.android.material:material:1.4.0",
"androidx_startup" : "androidx.startup:startup-runtime:1.0.0",
"flexbox" : "com.google.android:flexbox:1.1.1",
//deprecated 推荐使用jetpack compose
"anko" : "org.jetbrains.anko:anko-common:0.8.2",
//module
"module_support" : project(':module_support'),
"module_api" : project(':module_api'),
"module_banner" : project(':banner'),
// "module_picbrowser" : project(':picbrowserlib'),
//magicIndicator
"magic_indicator" : "com.github.hackware1993:MagicIndicator:1.5.0",
//smart refreshLayout
"smartrefresh" : 'io.github.scwang90:refresh-layout-kernel:2.0.5',
////谷歌刷新头
"smartrefresh_material_header" : 'io.github.scwang90:refresh-header-material:2.0.5',
//深度自定义的 calendarview
"calendarview" : 'com.haibin:calendarview:3.4.0',
//时间区间选择器
"range_time_picker" : 'com.borax12.materialdaterangepicker:library:1.9',
//今日头条屏幕适配方案
"headline_autosize" : 'me.jessyan:autosize:1.0.0',
//仿微信图片选择库
"pictureSelector" : 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.2',
//图片加载glide
"glide" : 'com.github.bumptech.glide:glide:4.12.0',
"glide_compiler" : 'com.github.bumptech.glide:compiler:4.12.0',
"glide_okhttp_integration" : 'com.github.bumptech.glide:okhttp3-integration:4.12.0',
"glide_transformations" : "jp.wasabeef:glide-transformations:4.0.0",
//图片加载Picasso
"picasso" : 'com.squareup.picasso:picasso:2.5.2',
//blureview 透明效果
blurview : 'com.github.mmin18:realtimeblurview:1.2.1',
//baseAdapter ForRecyclerView
"base_rvadapter" : 'com.zhy:base-rvadapter:3.0.3',
"brvah" : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.50',
//immersionbar
"barlibrary" : 'com.gyf.immersionbar:immersionbar:2.3.2-beta01',
//logger
"logger" : 'com.orhanobut:logger:2.1.1',
// 界面绑定框架 butter-knife
"butterknife" : 'com.jakewharton:butterknife:10.2.3',
"butterknife_compiler" : 'com.jakewharton:butterknife-compiler:10.2.3',
"rxbinding2" : 'com.jakewharton.rxbinding2:rxbinding:2.1.1',
//okhttp
"okhttp" : 'com.squareup.okhttp3:okhttp:4.9.0',
"okhttp_interceptor" : 'com.squareup.okhttp3:logging-interceptor:4.9.0',
"okio" : 'com.squareup.okio:okio:2.9.0',
//OSS
"ali_OSS" : 'com.aliyun.dpa:oss-android-sdk:+',
// 此处一定要注意使用RxJava2的版本
"rxjava2" : 'io.reactivex.rxjava2:rxjava:2.2.4',
"rxandroid2" : 'io.reactivex.rxjava2:rxandroid:2.1.0',
// Android 支持 Retrofit
"retrofit" : 'com.squareup.retrofit2:retrofit:2.9.0',
"retrofit_converter_scalars" : 'com.squareup.retrofit2:converter-scalars:2.9.0',
"retrofit_rxjava2_adapter" : 'com.squareup.retrofit2:adapter-rxjava2:2.9.0',
retrofitConverterGson : "com.squareup.retrofit2:converter-gson:2.9.0",
//xxpermission
"xxpermissions" : "com.github.getActivity:XXPermissions:16.2",
//rxbinding3
Rxbinding2 : 'com.jakewharton.rxbinding2:rxbinding:2.1.1',
//阿里出品,fastjson
"fastjson" : 'com.alibaba:fastjson:1.2.75',
//gson
"gson" : 'com.google.code.gson:gson:2.8.5',
"Android_Pickerview" : 'com.contrarywind:Android-PickerView:4.1.8',
//glide加载进度监听
"progressmanager" : 'me.jessyan:progressmanager:1.5.0',
"material_dialogs" : "com.afollestad.material-dialogs:commons:0.9.4.5",
// Your EventBus's version
"eventbus" : 'org.greenrobot:eventbus:3.1.1',
"photoview-smooth" : "com.bm.photoview:library:1.4.1",
"pickerview" : "com.contrarywind:Android-PickerView:4.1.6",
//bugly升级
"bugly_upgrade" : 'com.tencent.bugly:crashreport_upgrade:1.6.1',
"bugly_native" : 'com.tencent.bugly:nativecrashreport:3.9.2',
"greendao" : "org.greenrobot:greendao:3.2.2",
"greendao-generator" : "org.greenrobot:greendao-generator:3.2.2",
"greendao-sqlcipher" : "net.zetetic:android-database-sqlcipher:3.5.6",
//gsy player
//完整版引入
"GSYVideoPlayer" : 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v8.3.4-release-jitpack',
"amap-3dmap" : "com.amap.api:3dmap:latest.integration", //3D地图
"amap-2dmap" : "com.amap.api:map2d:latest.integration",// 2D地图
"amap-navi" : "com.amap.api:navi-3dmap:latest.integration",// 导航
"amap-search" : "com.amap.api:search:latest.integration",// 搜索
"amap-location" : "com.amap.api:location:latest.integration",// 定位
//友盟统计,三方登录分享
'umeng_analytic' : 'com.umeng.umsdk:analytics:7.5.4',
'umeng_common' : 'com.umeng.umsdk:common:1.5.4',
"umeng_utdid" : 'com.umeng.umsdk:utdid:1.1.5.3',
]
}