File tree 15 files changed +92
-111
lines changed
kotlinx-coroutines-reactor
15 files changed +92
-111
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import java.util.*
6
6
7
- buildscript {
8
- val cacheRedirectorEnabled = System .getenv(" CACHE_REDIRECTOR" )?.toBoolean() == true
9
-
10
- if (cacheRedirectorEnabled) {
11
- println (" Redirecting repositories for buildSrc buildscript" )
12
- }
13
-
14
- repositories {
15
- if (cacheRedirectorEnabled) {
16
- maven(" https://cache-redirector.jetbrains.com/plugins.gradle.org/m2" )
17
- } else {
18
- maven(" https://plugins.gradle.org/m2" )
19
- }
20
- }
21
- }
22
-
23
7
plugins {
24
8
`kotlin- dsl`
25
9
}
@@ -42,7 +26,7 @@ kotlinDslPluginOptions {
42
26
experimentalWarning.set(false )
43
27
}
44
28
45
- private val props = Properties ().apply {
29
+ val props = Properties ().apply {
46
30
file(" ../gradle.properties" ).inputStream().use { load(it) }
47
31
}
48
32
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
+ */
4
+
5
+ pluginManagement {
6
+ repositories {
7
+ val cacheRedirectorEnabled = System .getenv(" CACHE_REDIRECTOR" )?.toBoolean() == true
8
+
9
+ if (cacheRedirectorEnabled) {
10
+ println (" Redirecting repositories for buildSrc buildscript" )
11
+
12
+ maven(" https://cache-redirector.jetbrains.com/plugins.gradle.org/m2" )
13
+ } else {
14
+ maven(" https://plugins.gradle.org/m2" )
15
+ }
16
+ }
17
+ }
Original file line number Diff line number Diff line change 3
3
*/
4
4
5
5
kotlin. sourceSets {
6
- commonMain. dependencies {
7
- api " org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version "
8
- }
9
-
10
6
commonTest. dependencies {
11
7
api " org.jetbrains.kotlin:kotlin-test-common:$kotlin_version "
12
8
api " org.jetbrains.kotlin:kotlin-test-annotations-common:$kotlin_version "
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ kotlin {
26
26
}
27
27
28
28
sourceSets {
29
- jsMain. dependencies {
30
- api " org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version "
31
- }
32
-
33
29
jsTest. dependencies {
34
30
api " org.jetbrains.kotlin:kotlin-test-js:$kotlin_version "
35
31
}
Original file line number Diff line number Diff line change 7
7
apply plugin : ' org.jetbrains.kotlin.js'
8
8
9
9
dependencies {
10
- implementation " org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version "
11
10
testImplementation " org.jetbrains.kotlin:kotlin-test-js:$kotlin_version "
12
11
}
13
12
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ kotlin {
10
10
fromPreset(presets. jvm, ' jvm' )
11
11
}
12
12
sourceSets {
13
- jvmMain. dependencies {
14
- api ' org.jetbrains.kotlin:kotlin-stdlib'
15
- }
16
-
17
13
jvmTest. dependencies {
18
14
api " org.jetbrains.kotlin:kotlin-test:$kotlin_version "
19
15
// Workaround to make addSuppressed work in tests
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ sourceCompatibility = 1.6
10
10
targetCompatibility = 1.6
11
11
12
12
dependencies {
13
- compile " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
14
13
testCompile " org.jetbrains.kotlin:kotlin-test:$kotlin_version "
15
14
// Workaround to make addSuppressed work in tests
16
15
testCompile " org.jetbrains.kotlin:kotlin-reflect:$kotlin_version "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
+ */
4
+
5
+ val guavaVersion = " 28.0-jre"
6
+
7
+ dependencies {
8
+ compile(" com.google.guava:guava:$guavaVersion " )
9
+ }
10
+
11
+ externalDocumentationLink(
12
+ url = " https://google.github.io/guava/releases/$guavaVersion /api/docs/"
13
+ )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
+ */
4
+
5
+ dependencies {
6
+ compile(" org.slf4j:slf4j-api:1.7.25" )
7
+ testCompile(" io.github.microutils:kotlin-logging:1.5.4" )
8
+ testRuntime(" ch.qos.logback:logback-classic:1.2.3" )
9
+ testRuntime(" ch.qos.logback:logback-core:1.2.3" )
10
+ }
11
+
12
+ externalDocumentationLink(
13
+ url = " https://www.slf4j.org/apidocs/"
14
+ )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
+ */
4
+
5
+ dependencies {
6
+ compile(project(" :kotlinx-coroutines-reactive" ))
7
+ compile(" org.reactivestreams:reactive-streams-flow-adapters:${version(" reactive_streams" )} " )
8
+ }
9
+
10
+ tasks {
11
+ compileKotlin {
12
+ kotlinOptions.jvmTarget = " 9"
13
+ }
14
+
15
+ compileTestKotlin {
16
+ kotlinOptions.jvmTarget = " 9"
17
+ }
18
+ }
19
+
20
+ externalDocumentationLink(
21
+ url = " https://docs.oracle.com/javase/9/docs/api/java/util/concurrent/Flow.html"
22
+ )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
+ */
4
+
5
+ val reactorVersion = version(" reactor" )
6
+
7
+ dependencies {
8
+ compile(" io.projectreactor:reactor-core:$reactorVersion " )
9
+ compile(project(" :kotlinx-coroutines-reactive" ))
10
+ }
11
+
12
+
13
+ tasks {
14
+ compileKotlin {
15
+ kotlinOptions.jvmTarget = " 1.8"
16
+ }
17
+
18
+ compileTestKotlin {
19
+ kotlinOptions.jvmTarget = " 1.8"
20
+ }
21
+ }
22
+
23
+ externalDocumentationLink(
24
+ url = " https://projectreactor.io/docs/core/$reactorVersion /api/"
25
+ )
You can’t perform that action at this time.
0 commit comments