Skip to content

Commit

Permalink
Merge pull request #892 from mkurz/play29m5
Browse files Browse the repository at this point in the history
Update Play build with Scala 3.3
  • Loading branch information
mkurz authored Jun 5, 2023
2 parents d53f724 + 9a4af9c commit 9cd8296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
resolvers ++= DefaultOptions.resolvers(snapshot = true)
resolvers += Resolver.typesafeRepo("releases")

addSbtPlugin("com.typesafe.play" % "play-docs-sbt-plugin" % sys.props.getOrElse("play.version", "2.9.0-M5"))
addSbtPlugin("com.typesafe.play" % "play-docs-sbt-plugin" % sys.props.getOrElse("play.version", "2.9.0-M6"))

addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.4")

Expand Down
7 changes: 1 addition & 6 deletions scripts/test-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ sbt -DscalaJSStage=full \
++$MATRIX_SCALA test publishLocal || exit 1

case "$MATRIX_SCALA" in
3.* | 2.12.*) echo "SKIPPING docs/test" ;;
2.12.*) echo "SKIPPING docs/test" ;;
# ^ because Play 2.9.x does not get published for Scala 2.12.x anymore
# ^ because there is no play-docs for Scala 3
# and we can't use play-docs_2.13 because then:
# [error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/d/play-json/"), "docs"):
# [error] com.typesafe.play:play-functional _2.13, _3.0.0-M3
# [error] com.typesafe.play:play-json _2.13, _3.0.0-M3

*) sbt ++$MATRIX_SCALA docs/test || exit 2 ;;
esac

0 comments on commit 9cd8296

Please sign in to comment.