File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
vertx/src/main/scala/sttp/capabilities/vertx Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ val commonNativeSettings = commonSettings ++ Seq(
75
75
)
76
76
77
77
lazy val allProjectRefs =
78
- core.projectRefs ++ ws.projectRefs ++ akka.projectRefs ++ armeria.projectRefs ++ fs2ce2.projectRefs ++ fs2.projectRefs ++ monix.projectRefs ++ zio1.projectRefs ++ zio.projectRefs
78
+ core.projectRefs ++ ws.projectRefs ++ akka.projectRefs ++ armeria.projectRefs ++ fs2ce2.projectRefs ++ fs2.projectRefs ++ monix.projectRefs ++ zio1.projectRefs ++ zio.projectRefs ++ vertx.projectRefs
79
79
80
80
lazy val projectAggregates : Seq [ProjectReference ] = if (sys.env.isDefinedAt(" STTP_NATIVE" )) {
81
81
println(" [info] STTP_NATIVE defined, including sttp-native in the aggregate projects" )
@@ -245,3 +245,15 @@ lazy val zio = (projectMatrix in file("zio"))
245
245
settings = commonNativeSettings
246
246
)
247
247
.dependsOn(core)
248
+
249
+ lazy val vertx = (projectMatrix in file(" vertx" ))
250
+ .settings(
251
+ name := " vertx"
252
+ )
253
+ .jvmPlatform(
254
+ scalaVersions = List (scala2_12, scala2_13) ++ scala3,
255
+ settings = commonJvmSettings ++ Seq (
256
+ libraryDependencies += " io.vertx" % " vertx-core" % " 4.4.0"
257
+ )
258
+ )
259
+ .dependsOn(core)
Original file line number Diff line number Diff line change
1
+ package sttp .capabilities .vertx
2
+
3
+ import io .vertx .core .buffer .Buffer
4
+ import io .vertx .core .streams .ReadStream
5
+ import sttp .capabilities .Streams
6
+
7
+ trait VertxStreams extends Streams [VertxStreams ] {
8
+ override type BinaryStream = ReadStream [Buffer ]
9
+ override type Pipe [A , B ] = ReadStream [A ] => ReadStream [B ]
10
+ }
11
+
12
+ object VertxStreams extends VertxStreams
You can’t perform that action at this time.
0 commit comments