-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.gradle
46 lines (41 loc) · 2.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
ext {
//app版本号配置 versionName 一定是四位,并且不能有其他因为versionCode根据这个计算
configuration = [
compileSdk : 33,
targetSdk : 28,
minSdk : 21,
versionCode: 1,
versionName: "1.5.0.0"
]
compileConfig = [
sourceCompatibility: JavaVersion.VERSION_1_8,
targetCompatibility: JavaVersion.VERSION_1_8
]
kotlinOptionsConfig = [
jvmTarget: '1.8'
]
//androidx依赖库
androidXDependencies = [
fragment : "androidx.fragment:fragment:1.3.4",
appcompat : "androidx.appcompat:appcompat:1.3.0",
recyclerview : "androidx.recyclerview:recyclerview:1.2.1",
annotation : "androidx.annotation:annotation:1.2.0",
swiperefreshlayout : "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0",
localbroadcastmanager: "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0",
exifinterface : "androidx.exifinterface:exifinterface:1.1.0",
vectordrawable : "androidx.vectordrawable:vectordrawable:1.1.0",
material : "com.google.android.material:material:1.1.0",
multidex : "androidx.multidex:multidex:2.0.1",
constraintlayout : "androidx.constraintlayout:constraintlayout:2.0.4",
viewpager2 : "androidx.viewpager2:viewpager2:1.0.0",
datastorePreferences : "androidx.datastore:datastore-preferences:1.0.0",
lifecycleViewModelKtx: "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1",
lifecycleRuntimeKtx : "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1",
lifecycleLiveDataKtx : "androidx.lifecycle:lifecycle-livedata-ktx:2.5.1",
]
kotlinXDependencies = [
kotlinxCoroutinesCoreJvm : "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4",
kotlinxCoroutinesCore : "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4",
kotlinxCoroutinesCoreAndroid: "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
]
}