-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
182 lines (132 loc) · 4.23 KB
/
build.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
171
172
173
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 17
targetSdkVersion 27
versionCode 2
versionName "1.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:28.0.0'
compile 'com.android.support:design:28.0.0'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
api('com.github.bumptech.glide:glide:4.7.1') {
exclude group: 'com.android.support'
}
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
//网络请求
api('com.squareup.retrofit2:retrofit:2.3.0') {
exclude group: 'com.android.support'
}
api('com.squareup.retrofit2:converter-gson:2.1.0') {
exclude group: 'com.android.support'
}
api('com.squareup.retrofit2:adapter-rxjava2:2.4.0') {
exclude group: 'com.android.support'
}
api('io.reactivex.rxjava2:rxjava:2.1.9') {
exclude group: 'com.android.support'
}
api('io.reactivex.rxjava2:rxandroid:2.0.2') {
exclude group: 'com.android.support'
}
//日志管理
api('com.orhanobut:logger:2.1.1') {
exclude group: 'com.android.support'
}
//RecyclerView适配器
api('com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.26') {
exclude group: 'com.android.support'
}
//json处理
api('com.alibaba:fastjson:1.1.61.android') {
exclude group: 'com.android.support'
}
//6.0权限管理
api('com.github.tbruyelle:rxpermissions:0.10.2') {
exclude group: 'com.android.support'
}
//解决谷歌打包方法限制(65K)
api('com.android.support:multidex:1.0.2') {
exclude group: 'com.android.support'
}
//状态栏处理
api('com.jaeger.statusbarutil:library:1.4.0') {
exclude group: 'com.android.support'
}
api('com.githang:status-bar-compat:0.5.3') {
exclude group: 'com.android.support'
}
//下拉刷新
api('com.scwang.smartrefresh:SmartRefreshLayout:1.0.3') {
exclude group: 'com.android.support'
}
//圆形图片
api('de.hdodenhof:circleimageview:2.1.0') {
exclude group: 'com.android.support'
}
//事件总线,代替广播
api('org.greenrobot:eventbus:3.1.1') {
exclude group: 'com.android.support'
}
//mvp框架
api('com.hannesdorfmann.mosby3:viewstate:3.1.0') {
exclude group: 'com.android.support'
}
//下载
api('com.liulishuo.filedownloader:library:1.7.5') {
exclude group: 'com.android.support'
}
//key-value数据本地存储
api('com.tencent:mmkv:1.0.10') {
exclude group: 'com.android.support'
}
//load布局
api('com.lai.weavey:loadinglayout:1.3.1') {
exclude group: 'com.android.support'
}
// ViewModel and LiveData
api('android.arch.lifecycle:extensions:1.1.1') {
exclude group: 'com.android.support'
}
//通用dialog
api('com.github.Othershe:NiceDialog:1.1.4') {
exclude group: 'com.android.support'
}
//通用shape
api('com.github.lygttpod:SuperTextView:2.1.8') {
exclude group: 'com.android.support'
}
//滑动返回
api('cn.bingoogolapple:bga-swipebacklayout:1.1.9@aar') {
exclude group: 'com.android.support'
}
//屏幕适配
api('me.jessyan:autosize:1.0.1') {
exclude group: 'com.android.support'
}
//图片选择器
api ('com.github.LuckSiege.PictureSelector:picture_library:v2.2.3') {
exclude group: 'com.android.support'
}
//webview
api ('com.just.agentweb:agentweb:4.0.2') {
exclude group: 'com.android.support'
}
}