@@ -16,16 +16,18 @@ ifeq ($(SNAPSHOT),yes)
16
16
export CHECKER_FRAMEWORK_VERSION ?= 3.43.0-SNAPSHOT
17
17
export GUAVA_VERSION ?= 1.0-HEAD-jre-SNAPSHOT
18
18
export GUAVA_FAILUREACCESS_VERSION ?= 1.0.3-jpms
19
+ export REACTIVE_STREAMS_VERSION ?= 1.0.5-SNAPSHOT
19
20
else
20
21
export CHECKER_FRAMEWORK_VERSION ?= 3.43.0-SNAPSHOT
21
22
export GUAVA_VERSION ?= 33.0.0-jre-jpms
22
23
export GUAVA_FAILUREACCESS_VERSION ?= 1.0.3-jpms
24
+ export REACTIVE_STREAMS_VERSION ?= 1.0.5-jpms
23
25
endif
24
26
25
27
export PROJECT ?= $(shell pwd)
26
28
export LIBS ?= $(PROJECT ) /libs
27
29
28
- DEPS ?= com.google.guava com.google.errorprone com.google.j2objc org.checkerframework
30
+ DEPS ?= com.google.guava com.google.errorprone com.google.j2objc org.checkerframework org.reactivestreams
29
31
POSIX_FLAGS ?=
30
32
31
33
ifeq ($(VERBOSE ) ,yes)
@@ -140,6 +142,19 @@ com.google.guava/guava/futures/failureaccess/target:
140
142
&& $(GIT ) checkout . \
141
143
&& echo " Guava Failure Access ready."
142
144
145
+ reactivestreams : org.reactivestreams # # Build Reactive Streams.
146
+ org.reactivestreams : org.reactivestreams/api/build/libs
147
+ org.reactivestreams/api/build/libs :
148
+ $(info Building Reactive Streams...)
149
+ $(RULE ) cd org.reactivestreams \
150
+ && $(GRADLE ) \
151
+ -Pversion=$(REACTIVE_STREAMS_VERSION ) \
152
+ -PreleaseVersion=$(REACTIVE_STREAMS_VERSION ) \
153
+ $(GRADLE_GOAL ) \
154
+ publishToMavenLocal \
155
+ publishAllPublicationsToMavenLocalRepository \
156
+ && echo " Reactive Streams ready."
157
+
143
158
#
144
159
# Top-level commands
145
160
#
@@ -171,6 +186,7 @@ $(LIBS):
171
186
com.google.errorprone/annotations/target/* .jar \
172
187
com.google.j2objc/annotations/target/* .jar \
173
188
org.checkerframework/checker-qual/build/libs/* .jar \
189
+ org.reactivestreams/api/build/libs/* .jar \
174
190
com.google.guava/guava/target/* .jar \
175
191
$(LIBS )
176
192
@@ -192,6 +208,7 @@ git-add:
192
208
repository/com/google/j2objc \
193
209
repository/com/google/errorprone \
194
210
repository/org/checkerframework \
211
+ repository/org/reactivestreams \
195
212
repository/dev/javamodules
196
213
$(GIT ) status -sb
197
214
@@ -205,6 +222,7 @@ clean: ## Clean all built targets.
205
222
com.google.guava/futures/failureaccess/target \
206
223
org.checkerframework/build \
207
224
org.checkerframework/* /build \
225
+ org.reactivestreams/* /build \
208
226
samples/gradle-platform/app/build \
209
227
samples/modular-guava/app/build \
210
228
samples/modular-guava-repo/app/build \
0 commit comments