Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from hmrc/BDOG-871
BDOG-871 add .coursier to travis config
- Loading branch information
Showing
3 changed files
with
8 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ cache: | |
directories: | ||
- $HOME/.sbt | ||
- $HOME/.ivy2 | ||
- $HOME/.m2 | ||
- $HOME/.coursier | ||
|
||
jdk: | ||
- openjdk8 | ||
|
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,11 +1,4 @@ | ||
import uk.gov.hmrc.playcrosscompilation.{AbstractPlayCrossCompilation, PlayVersion} | ||
import uk.gov.hmrc.playcrosscompilation.PlayVersion.Play25 | ||
import uk.gov.hmrc.playcrosscompilation.AbstractPlayCrossCompilation | ||
import uk.gov.hmrc.playcrosscompilation.PlayVersion.Play26 | ||
|
||
object PlayCrossCompilation extends AbstractPlayCrossCompilation(defaultPlayVersion = 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 => scalaVersions.filter(version => version.startsWith("2.12")) | ||
} | ||
} | ||
object PlayCrossCompilation extends AbstractPlayCrossCompilation(defaultPlayVersion = Play26) |