Skip to content

Commit

Permalink
Remove NoScala3 plugin from scala/java marshallers
Browse files Browse the repository at this point in the history
  • Loading branch information
jchyb committed Apr 13, 2022
1 parent 0e11df5 commit 493695f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ import org.scalatest.concurrent.ScalaFutures
import spray.json.{ JsArray, JsString, JsValue }
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
import spray.json.RootJsonFormat

class SprayJsonSupportSpec extends AnyWordSpec with Matchers with ScalaFutures {
import SprayJsonSupport._
import SprayJsonSupportSpec._
import spray.json.DefaultJsonProtocol._

implicit val exampleFormat = jsonFormat1(Example.apply)
implicit val sys = ActorSystem("SprayJsonSupportSpec")
implicit val mat = ActorMaterializer()
implicit val exampleFormat: RootJsonFormat[Example] = jsonFormat1(Example.apply)
implicit val sys: ActorSystem = ActorSystem("SprayJsonSupportSpec")
implicit val mat: ActorMaterializer = ActorMaterializer()
implicit val ec: ExecutionContext = sys.dispatcher

val TestString = "Contains all UTF-8 characters: 2-byte: £, 3-byte: ヨ, 4-byte: 😁, 4-byte as a literal surrogate pair: \uD83D\uDE01"
Expand Down
3 changes: 0 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,12 @@ lazy val httpXml =
.settings(AutomaticModuleName.settings("akka.http.marshallers.scalaxml"))
.addAkkaModuleDependency("akka-stream", "provided")
.settings(Dependencies.httpXml)
.enablePlugins(NoScala3) // FIXME

lazy val httpSprayJson =
httpMarshallersScalaSubproject("spray-json")
.settings(AutomaticModuleName.settings("akka.http.marshallers.sprayjson"))
.addAkkaModuleDependency("akka-stream", "provided")
.settings(Dependencies.httpSprayJson)
.enablePlugins(NoScala3) // FIXME

lazy val httpMarshallersJava = project("akka-http-marshallers-java")
.settings(commonSettings)
Expand All @@ -326,7 +324,6 @@ lazy val httpJackson =
.dependsOn(httpTestkit % "test")
.settings(Dependencies.httpJackson)
.enablePlugins(ScaladocNoVerificationOfDiagrams)
.enablePlugins(NoScala3) // FIXME

lazy val httpCaching = project("akka-http-caching")
.settings(commonSettings)
Expand Down

0 comments on commit 493695f

Please sign in to comment.