Skip to content

Commit 79cedfa

Browse files
committed
Moving the FlowAdapters into the core jar as a solution to #424
1 parent 582fdae commit 79cedfa

File tree

10 files changed

+4
-28
lines changed

10 files changed

+4
-28
lines changed

Diff for: build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ subprojects {
4949
if (name in ["reactive-streams",
5050
"reactive-streams-tck",
5151
"reactive-streams-tck-flow",
52-
"reactive-streams-examples",
53-
"reactive-streams-flow-adapters"]) {
52+
"reactive-streams-examples"]) {
5453
apply plugin: "maven"
5554
apply plugin: "signing"
5655

Diff for: flow-adapters/.gitignore

-1
This file was deleted.

Diff for: flow-adapters/build.gradle

-20
This file was deleted.

Diff for: settings.gradle

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,28 @@ try {
1111
Class.forName("java.util.concurrent.Flow")
1212
jdkFlow = true
1313
println(ANSI_GREEN + " INFO: ------------------ JDK9 classes detected ---------------------------------" + ANSI_RESET)
14-
println(ANSI_GREEN + " INFO: Java 9 Flow API found; Including [flow-adapters, tck-flow] in build. " + ANSI_RESET)
14+
println(ANSI_GREEN + " INFO: Java 9 Flow API found; Including [tck-flow] in build. " + ANSI_RESET)
1515
println(ANSI_GREEN + " INFO: --------------------------------------------------------------------------" + ANSI_RESET)
1616
} catch (Throwable ex) {
1717
// Flow API not available
1818
println(ANSI_RED + "WARNING: -------------------- JDK9 classes NOT detected -----------------------------" + ANSI_RESET)
19-
println(ANSI_RED + "WARNING: Java 9 Flow API not found; Not including [flow-adapters, tck-flow] in build." + ANSI_RESET)
19+
println(ANSI_RED + "WARNING: Java 9 Flow API not found; Not able to include [tck-flow] in build. " + ANSI_RESET)
2020
println(ANSI_RED + "WARNING: In order to execute the complete test-suite run the build using JDK9+. " + ANSI_RESET)
2121
println(ANSI_RED + "WARNING: ----------------------------------------------------------------------------" + ANSI_RESET)
22+
throw ex
2223
}
2324

2425
include ':reactive-streams'
2526
include ':reactive-streams-tck'
2627
include ':reactive-streams-examples'
2728

2829
if (jdkFlow) {
29-
include ':reactive-streams-flow-adapters'
3030
include ':reactive-streams-tck-flow'
3131
}
3232

3333
project(':reactive-streams').projectDir = "$rootDir/api" as File
3434
project(':reactive-streams-tck').projectDir = "$rootDir/tck" as File
3535
project(':reactive-streams-examples').projectDir = "$rootDir/examples" as File
3636
if (jdkFlow) {
37-
project(':reactive-streams-flow-adapters').projectDir = "$rootDir/flow-adapters" as File
3837
project(':reactive-streams-tck-flow').projectDir = "$rootDir/tck-flow" as File
3938
}

Diff for: tck-flow/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ description = 'reactive-streams-tck-flow'
22
dependencies {
33
compile group: 'org.testng', name: 'testng', version:'5.14.10'
44
compile project(':reactive-streams-tck')
5-
compile project(':reactive-streams-flow-adapters')
65
}
76

87
jar {

0 commit comments

Comments
 (0)