This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7aba832
commit 8e7a30d
Showing
5 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
import uk.gov.hmrc.playcrosscompilation.AbstractPlayCrossCompilation | ||
import uk.gov.hmrc.playcrosscompilation.PlayVersion.Play25 | ||
import uk.gov.hmrc.playcrosscompilation.PlayVersion | ||
|
||
object PlayCrossCompilation extends AbstractPlayCrossCompilation(defaultPlayVersion = Play25) | ||
object PlayCrossCompilation extends AbstractPlayCrossCompilation(defaultPlayVersion = PlayVersion.Play25) { | ||
override def playCrossScalaBuilds(scalaVersions: Seq[String]): Seq[String] = | ||
playVersion match { | ||
case PlayVersion.Play25 => scalaVersions.filter(version => version.startsWith("2.11")) | ||
case PlayVersion.Play26 => scalaVersions | ||
case PlayVersion.Play27 => // reactivemongo uses an old akka-version which is incompatible with the latter version of akka used in play 2.7. on scala 2.11 | ||
scalaVersions.filter(version => version.startsWith("2.12")) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters