-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.gradle
53 lines (50 loc) · 2.25 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
ext {
//android开发版本配置
build_android = [
compileSdkVersion: 33,
applicationId : "com.soar.mvicloud",
minSdkVersion : 24,
targetSdkVersion : 33,
versionCode : 100,
versionName : "v1.0.0",
]
//version配置
versions = [
androidx: "1.4.1"
]
//官方组件配置
authority = [
junit : "junit:junit:4.13.2",
test_runner : "com.android.support.test:runner:1.1.3",
test_espresso : "com.android.support.test.espresso:espresso-core:3.4.0",
androidx : "androidx.appcompat:appcompat:${versions.androidx}",
material : "com.google.android.material:material:1.5.0",
ktxCore : "androidx.core:core-ktx:1.7.0",
activityKtx : "androidx.activity:activity-ktx:1.4.0",
fragmentKtx : "androidx.fragment:fragment-ktx:1.4.0",
constraint_layout: "androidx.constraintlayout:constraintlayout:2.1.3",
]
//依赖第三方配置
thirdLibs = [
//retrofit联网框架
retrofit2 : "com.squareup.retrofit2:retrofit:2.9.0",
retrofit2_gson : "com.squareup.retrofit2:converter-gson:2.9.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",
//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",
//banner轮播
banner : "com.youth.banner:banner:1.4.10",
//flowlayout
flowlayout : "com.hyman:flowlayout-lib:1.1.2",
]
}