-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.gradle
60 lines (57 loc) · 2.61 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
ext {
//android开发版本配置
build_android = [
compileSdkVersion: 30,
applicationId : "com.soar.cloud",
minSdkVersion : 14,
targetSdkVersion : 30,
versionCode : 10,
versionName : "v1.0.0",
]
//version配置
versions = [
support: "28.0.0"
]
//官方组件配置
authority = [
appcompat_v7 : "com.android.support:appcompat-v7:${versions.support}",
design : "com.android.support:design:${versions.support}",
junit : "junit:junit:4.12",
test_runner : "com.android.support.test:runner:1.0.2",
test_espresso : "com.android.support.test.espresso:espresso-core:3.0.2",
constraint_layout: "com.android.support.constraint:constraint-layout:1.1.3",
arch_extensions : "android.arch.lifecycle:extensions:1.1.1",
]
//依赖第三方配置
thirdLibs = [
//retrofit联网框架
retrofit2 : "com.squareup.retrofit2:retrofit:2.4.0",
retrofit2_gson : "com.squareup.retrofit2:converter-gson:2.4.0",
retrofit2_adapter : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
//rxjava2
rxjava2 : "io.reactivex.rxjava2:rxjava:2.2.0",
rxandroid : "io.reactivex.rxjava2:rxandroid:2.1.0",
//Rxlifecycle2
Rxlifecycle2 : "com.trello.rxlifecycle2:rxlifecycle-navi:2.1.0",
//Arouter
arouter_api : "com.alibaba:arouter-api:1.4.1",
arouter_compiler : "com.alibaba:arouter-compiler:1.2.2",
//banner轮播
banner : "com.youth.banner:banner:1.4.10",
//Glide
glide : "com.github.bumptech.glide:glide:4.8.0",
//SmartRefreshLayout
smartRefreshLayout : "com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-19",
smartRefreshHeader : "com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-19",
//BottomNavigationViewEx
bottomNavigationViewEx: "com.github.ittianyu:BottomNavigationViewEx:2.0.2",
//flowlayout
flowlayout : "com.hyman:flowlayout-lib:1.1.2",
//PhotoView
PhotoView : "com.github.chrisbanes:PhotoView:2.0.0",
//AndPermission
AndPermission : "com.yanzhenjie:permission:2.0.0-rc12",
//stream
stream : "com.annimon:stream:1.2.1",
]
}