-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
52 lines (38 loc) · 1.11 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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
dependencies {
implementation fileTree(include: '*.jar', dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "androidx.appcompat:appcompat:${android_x_appcompat}"
implementation "androidx.annotation:annotation:${android_x_annotation}"
//协程两者
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines"
implementation "com.google.code.gson:gson:${gson}"
}
android {
compileSdkVersion compileVersion
defaultConfig {
minSdkVersion 14
targetSdkVersion 31
}
viewBinding {
enabled = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {
}
flavorDimensions "default"
buildTypes {
debug {}
prePublish {}
release {}
}
}
repositories {
mavenCentral()
}