-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathbuild.gradle.kts
46 lines (38 loc) · 1.09 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.dsl.*
plugins {
// apply plugin to use autocomplete for Kover DSL
id("org.jetbrains.kotlinx.kover")
}
dependencies {
api("io.projectreactor:reactor-core:${version("reactor")}")
api(project(":kotlinx-coroutines-reactive"))
}
java {
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
compilerOptions.jvmTarget = JvmTarget.JVM_1_8
}
compileTestKotlin {
compilerOptions.jvmTarget = JvmTarget.JVM_1_8
}
}
// the version of the docs can be different from the version of the Reactor
// library itself: https://github.com/reactor/reactor-core/issues/3794
externalDocumentationLink(
url = "https://projectreactor.io/docs/core/${version("reactor_docs")}/api/"
)
kover {
reports {
filters {
excludes {
classes(
"kotlinx.coroutines.reactor.FlowKt", // Deprecated
"kotlinx.coroutines.reactor.ConvertKt\$asFlux$1" // Deprecated
)
}
}
}
}