aboutsummaryrefslogtreecommitdiff
path: root/reactive/kotlinx-coroutines-jdk9/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'reactive/kotlinx-coroutines-jdk9/build.gradle.kts')
-rw-r--r--reactive/kotlinx-coroutines-jdk9/build.gradle.kts22
1 files changed, 22 insertions, 0 deletions
diff --git a/reactive/kotlinx-coroutines-jdk9/build.gradle.kts b/reactive/kotlinx-coroutines-jdk9/build.gradle.kts
new file mode 100644
index 00000000..c721746f
--- /dev/null
+++ b/reactive/kotlinx-coroutines-jdk9/build.gradle.kts
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
+dependencies {
+ compile(project(":kotlinx-coroutines-reactive"))
+ compile("org.reactivestreams:reactive-streams-flow-adapters:${version("reactive_streams")}")
+}
+
+tasks {
+ compileKotlin {
+ kotlinOptions.jvmTarget = "9"
+ }
+
+ compileTestKotlin {
+ kotlinOptions.jvmTarget = "9"
+ }
+}
+
+externalDocumentationLink(
+ url = "https://docs.oracle.com/javase/9/docs/api/java/util/concurrent/Flow.html"
+)