-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (39 loc) · 1.19 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
buildscript {
ext.kotlin_version = '1.4.0'
ext.coroutines_version = '1.3.9'
ext.serialization_version = '1.0.0-RC'
// ext.ktor_version = '1.3.2'
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
id 'org.jetbrains.kotlin.kapt' version '1.4.0'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.0'
}
group 'xyz.zzt'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-core:$serialization_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
// implementation "io.ktor:ktor-client-apache:$ktor_version"
// implementation "io.ktor:ktor-client-serialization-jvm:$ktor_version"
implementation "com.squareup.okhttp3:okhttp:4.8.0"
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.useIR = true
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.useIR = true
}