Skip to content

Commit

Permalink
add support for Play 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dwickern committed Nov 3, 2023
1 parent a8d1ef0 commit 677c487
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ThisBuild / organization := "com.github.dwickern"
lazy val play27 = ConfigAxis("play27", "play2.7")
lazy val play28 = ConfigAxis("play28", "play2.8")
lazy val play29 = ConfigAxis("play29", "play2.9")
lazy val play30 = ConfigAxis("play30", "play3.0")

lazy val scala212 = "2.12.13"
lazy val scala213 = "2.13.4"
Expand Down Expand Up @@ -97,6 +98,26 @@ lazy val swagger = (projectMatrix in file("."))
)
)
)
.customRow(
scalaVersions = Seq(scala3, scala213),
axisValues = Seq(play30, VirtualAxis.jvm),
_.settings(
moduleName := name.value + "3.0",
libraryDependencies ++= Seq(
"org.playframework" %% "play" % "3.0.0",
"org.playframework" %% "play-routes-compiler" % "3.0.0",
"org.playframework" %% "play-test" % "3.0.0" % Test,
"org.playframework" %% "play-specs2" % "3.0.0" % Test,
"org.playframework" %% "play-ebean" % "8.0.0-M1" % Test,
"io.swagger" % "swagger-core" % "1.6.11",
("io.swagger" %% "swagger-scala-module" % "1.0.6")
.cross(CrossVersion.for3Use2_13)
.exclude("com.fasterxml.jackson.module", "jackson-module-scala_2.13"),
"javax.xml.bind" % "jaxb-api" % "2.3.1",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.14.2",
)
)
)

/**
* Run tests using a specific Play version
Expand Down

0 comments on commit 677c487

Please sign in to comment.