-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (34 loc) · 1.51 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.1.0'
id "com.github.ben-manes.versions" version "0.51.0"
}
group 'org.athenian'
version '1.0-SNAPSHOT'
repositories {
google()
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:$coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-debug:$coroutines_version"
}
kotlin {
jvmToolchain(17)
}
compileKotlin {
kotlinOptions.freeCompilerArgs += ['-opt-in=kotlin.time.ExperimentalTime',
'-opt-in=kotlinx.coroutines.FlowPreview',
'-opt-in=kotlinx.coroutines.DelicateCoroutinesApi',
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
'-opt-in=kotlinx.coroutines.InternalCoroutinesApi']
}
compileTestKotlin {
kotlinOptions.freeCompilerArgs += ['-opt-in=kotlin.time.ExperimentalTime',
'-opt-in=kotlinx.coroutines.FlowPreview',
'-opt-in=kotlinx.coroutines.DelicateCoroutinesApi',
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
'-opt-in=kotlinx.coroutines.InternalCoroutinesApi']
}