build.gradle
5.71 KB
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
171
172
173
174
apply plugin: 'com.android.library'
android {
// compileSdkVersion 29
// buildToolsVersion "29.0.2"
//
//
// defaultConfig {
// minSdkVersion 16
// targetSdkVersion 29
// versionCode 1
// versionName "1.0"
//
// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// consumerProguardFiles 'consumer-rules.pro'
// }
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
def moduleVersion = "0.3.7-alpha01"
annotationProcessor "com.google.dagger:dagger-android-processor:2.16"
// 刷新控件
implementation "com.scwang.smartrefresh:SmartRefreshLayout:$rootProject.SmartRefreshLayout"
implementation "com.scwang.smartrefresh:SmartRefreshHeader:$rootProject.SmartRefreshHeader"
// 圆形图片
implementation "de.hdodenhof:circleimageview:$rootProject.circleimageview"
// MagicIndicator
implementation("com.github.SherlockGougou:MagicIndicator:1.6.0") {
exclude group: 'com.android.support'
}
// recyclerview-animators
implementation("jp.wasabeef:recyclerview-animators:$rootProject.recyclerviewAnimators") {
exclude group: 'com.android.support'// 内部引入了27.1.1的appcompat-v7包和support-annotations
}
// 视讯云支付sdk
// implementation 'com.cnlive:lib_cnpay:1.0.9'
// span
api 'com.zrq:spanbuilder:1.0.5'
// 选择的dialog(版本升级了)
api 'com.contrarywind:Android-PickerView:4.1.6'
// shape button
api 'com.github.medyo:fancybuttons:1.9.0'
// 高德定位
implementation "com.amap.api:location:latest.integration"
// 高德地图3D
api 'com.amap.api:3dmap:6.6.0'
// 搜索功能
api 'com.amap.api:search:6.5.0.1'
// 轮播图
api 'com.youth.banner:banner:1.4.10'
// 圆角图片
implementation 'com.makeramen:roundedimageview:2.3.0'
// 图片选择
api 'com.cnlive.module:matisse:0.0.1'
// divider
api('com.zrq:divider:1.0.1') {
exclude group: 'com.android.support'
}
// PhotoView
api('com.github.chrisbanes:PhotoView:2.1.4') {
exclude group: 'com.android.support'
}
// DiscreteScrollView
api('com.yarolegovich:discrete-scrollview:1.4.9') {
exclude group: 'com.android.support'
}
// baseAdapter
api "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.42"
// 状态栏
api "com.jaeger.statusbarutil:library:1.5.1"
// EventBus
api "org.greenrobot:eventbus:3.1.1"
// RxLifecycle
api("com.trello.rxlifecycle2:rxlifecycle:2.2.2") {
exclude module: 'rxjava'// rxJava
}
//没有
api("com.trello.rxlifecycle2:rxlifecycle-components:2.2.2") {
exclude group: 'com.android.support'// 内部引入了27.1.1的appcompat-v7包和support-annotations
exclude module: 'rxjava'// rxJava
}
// Anko Commons
api "org.jetbrains.anko:anko-commons:0.10.5"
api "org.jetbrains.anko:anko-support-v4-commons:0.10.5"// Support-v4 (only Anko Commons)
// Dagger2
api "com.google.dagger:dagger:2.16"
annotationProcessor "com.google.dagger:dagger-compiler:2.16"
// dagger-android
api "com.google.dagger:dagger-android:2.16"
api "com.google.dagger:dagger-android-support:2.16"
api("com.cnlive.module:shop:$moduleVersion") {
transitive = false
}
api("com.cnlive.module:base:$moduleVersion") {
transitive = false
}
api("com.cnlive.module:common:$moduleVersion") {
transitive = false
}
api("com.cnlive.module:repast:$moduleVersion") {
transitive = false
}
api("com.cnlive.module:ar:$moduleVersion") {
transitive = false
}
// happy-china
api("com.cnlive.module:happy-china:$moduleVersion") {
transitive = false
}
api("com.cnlive.module:local-life:$moduleVersion") {
transitive = false
}
// ******** 工具 ********
// kotlin环境
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.21"
// systembartint
api 'com.readystatesoftware.systembartint:systembartint:1.0.4'
// 文字垂直滚动
api 'com.sunfusheng:marqueeview:1.2.0'
// 流式布局
api 'com.hyman:flowlayout-lib:1.1.2'
// gif //没有
api 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
// 网家家支付
api "com.cnlive.libs:wjjpay:1.0.5"
api "com.oushangfeng:PinnedSectionItemDecoration:1.3.2"
// snap
implementation 'com.github.rubensousa:gravitysnaphelper-compat:2.0'
// 模糊
implementation "com.wonderkiln:blurkit:1.0.0"
// LayoutManager
implementation "com.beloo.widget:ChipsLayoutManager:0.3.7@aar"
//CNLiveLibs
implementation "com.cnlive.libs:base:1.7.6.18"
implementation "com.cnlive.libs:emoj:$rootProject.libEmoj"
implementation "com.cnlive.libs:noober_menu:$rootProject.libMenu"
// implementation "com.cnlive.libs:arch:$rootProject.appArch"
//七牛上传
implementation "com.qiniu:qiniu-android-sdk:$rootProject.qiniuAndroidSdk"
// 阴影布局
api 'com.github.lihangleo2:ShadowLayout:2.0.1'
api 'com.github.lihangleo2:ShadowLayout:2.0.1'
api "com.tencent.imsdk:imsdk:$rootProject.imsdk"
implementation project(path: ':cloud:user')
implementation project(path: ':cloud:app_pay')
implementation project(path: ':module:shanghaishop')
implementation project(path: ':core:base')
}