Skip to content

Commit de5ddbd

Browse files
author
Pask
committed
Merge branch 'master' into scala-3-for-native
# Conflicts: # project/plugins.sbt
2 parents bc06ffd + 2726b17 commit de5ddbd

File tree

6 files changed

+40
-15
lines changed

6 files changed

+40
-15
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
runner.dialect = scala3
2-
version = 3.3.1
2+
version = 3.5.1
33
maxColumn = 120

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sttp is a family of Scala HTTP-related projects, and currently includes:
1616
Add the following dependency:
1717

1818
```scala
19-
"com.softwaremill.sttp.shared" %% "core" % "1.3.1"
19+
"com.softwaremill.sttp.shared" %% "core" % "1.3.4"
2020
```
2121

2222
sttp model is available for Scala 2.11, 2.12, 2.13, 3.0.0-Mx, Scala.JS and Scala Native.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package sttp.capabilities.armeria
2+
3+
import com.linecorp.armeria.common.HttpData
4+
import org.reactivestreams.{Processor, Publisher}
5+
import sttp.capabilities.Streams
6+
7+
trait ArmeriaStreams extends Streams[ArmeriaStreams] {
8+
override type BinaryStream = Publisher[HttpData]
9+
override type Pipe[A, B] = Processor[A, B]
10+
}
11+
12+
object ArmeriaStreams extends ArmeriaStreams

build.sbt

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ import com.typesafe.tools.mima.core._
55

66
val scala2_11 = "2.11.12"
77
val scala2_12 = "2.12.15"
8-
val scala2_13 = "2.13.7"
8+
val scala2_13 = "2.13.8"
99
val scala2 = List(scala2_11, scala2_12, scala2_13)
10-
val scala3 = List("3.1.0")
10+
val scala3 = List("3.1.2")
1111

12-
val sttpModelVersion = "1.4.21"
12+
val sttpModelVersion = "1.4.25"
1313

14-
val scalaTestVersion = "3.2.10"
15-
val zio1Version = "1.0.13"
16-
val zio2Version = "2.0.0-RC1"
14+
val scalaTestVersion = "3.2.12"
15+
val zio1Version = "1.0.14"
16+
val zio2Version = "2.0.0-RC5"
1717
val fs2_2_version: Option[(Long, Long)] => String = {
1818
case Some((2, 11)) => "2.1.0"
1919
case _ => "2.5.9"
2020
}
21-
val fs2_3_version = "3.2.4"
21+
val fs2_3_version = "3.2.7"
22+
val armeriaVersion = "1.16.0"
2223

2324
excludeLintKeys in Global ++= Set(ideSkipProject)
2425

@@ -73,7 +74,7 @@ val commonNativeSettings = commonSettings ++ Seq(
7374
)
7475

7576
lazy val allProjectRefs =
76-
core.projectRefs ++ ws.projectRefs ++ akka.projectRefs ++ fs2ce2.projectRefs ++ fs2.projectRefs ++ monix.projectRefs ++ zio1.projectRefs ++ zio.projectRefs
77+
core.projectRefs ++ ws.projectRefs ++ akka.projectRefs ++ armeria.projectRefs ++ fs2ce2.projectRefs ++ fs2.projectRefs ++ monix.projectRefs ++ zio1.projectRefs ++ zio.projectRefs
7778

7879
lazy val projectAggregates: Seq[ProjectReference] = if (sys.env.isDefinedAt("STTP_NATIVE")) {
7980
println("[info] STTP_NATIVE defined, including sttp-native in the aggregate projects")
@@ -139,7 +140,19 @@ lazy val akka = (projectMatrix in file("akka"))
139140
.jvmPlatform(
140141
scalaVersions = List(scala2_12, scala2_13) ++ scala3,
141142
settings = commonJvmSettings ++ Seq(
142-
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.6.18" % "provided"
143+
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.6.19" % "provided"
144+
)
145+
)
146+
.dependsOn(core)
147+
148+
lazy val armeria = (projectMatrix in file("armeria"))
149+
.settings(
150+
name := "armeria"
151+
)
152+
.jvmPlatform(
153+
scalaVersions = scala2 ++ scala3,
154+
settings = commonJvmSettings ++ Seq(
155+
libraryDependencies += "com.linecorp.armeria" % "armeria" % armeriaVersion
143156
)
144157
)
145158
.dependsOn(core)

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.6.1
1+
sbt.version=1.6.2

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
libraryDependencies += "org.scala-js" %% "scalajs-env-selenium" % "1.1.1"
2-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")
3-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.3-RC1")
2+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0")
3+
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.4")
44
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.9.0")
55

66
val sbtSoftwareMillVersion = "2.0.9"
@@ -9,4 +9,4 @@ addSbtPlugin("com.softwaremill.sbt-softwaremill" % "sbt-softwaremill-publish" %
99
addSbtPlugin("com.softwaremill.sbt-softwaremill" % "sbt-softwaremill-browser-test-js" % sbtSoftwareMillVersion)
1010

1111
addSbtPlugin("org.jetbrains" % "sbt-ide-settings" % "1.1.0")
12-
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.0.1")
12+
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")

0 commit comments

Comments
 (0)