-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
38 lines (33 loc) · 1.08 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
id "org.jetbrains.kotlin.plugin.serialization" version "1.7.10"
}
group 'CoroutineRecipes'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10"
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0-RC"
implementation "io.ktor:ktor-client-java:2.0.3"
implementation "io.ktor:ktor-serialization-gson:2.0.3"
implementation "io.ktor:ktor-client-content-negotiation:2.0.3"
implementation "io.ktor:ktor-client-logging:2.0.3"
testImplementation "junit:junit:4.13.2"
}
compileKotlin {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}