Skip to content

Commit

Permalink
Merge pull request #154 from mkurz/2.12-crossbuild
Browse files Browse the repository at this point in the history
Cross build against Scala 2.12 because it's need by a sbt-plugin
  • Loading branch information
mkurz authored Sep 30, 2022
2 parents 6595e82 + 2358f04 commit a5bdaf0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
java: 11, 8
scala: 2.13.8
scala: 2.12.15, 2.13.8
cmd: sbt ++$MATRIX_SCALA test

finish:
Expand Down
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import interplay.ScalaVersions._

// Customise sbt-dynver's behaviour to make it work with tags which aren't v-prefixed
(ThisBuild / dynverVTagPrefix) := false

Expand All @@ -10,6 +12,9 @@ Global / onLoad := (Global / onLoad).value.andThen { s =>

lazy val `play-doc` = (project in file("."))
.enablePlugins(PlayLibrary, SbtTwirl, PlayReleaseBase)
.settings(
crossScalaVersions := Seq(scala212, scala213)
)

libraryDependencies ++= Seq(
"org.pegdown" % "pegdown" % "1.6.0",
Expand Down

0 comments on commit a5bdaf0

Please sign in to comment.