summaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-02 20:15:00 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-02 20:21:37 -0800
commit2e50c963eecadcf7bd6ecd6956584ab099d5273a (patch)
tree2f66db3102be7b958cf56429c6dd60c2ae610766 /integration
parent4d79af93f907264a16abe3661ea417a268b0ef67 (diff)
downloadmill-2e50c963eecadcf7bd6ecd6956584ab099d5273a.tar.gz
mill-2e50c963eecadcf7bd6ecd6956584ab099d5273a.tar.bz2
mill-2e50c963eecadcf7bd6ecd6956584ab099d5273a.zip
compile zinc compiler bridges on demand to remove restriction on supported scala versions
Diffstat (limited to 'integration')
-rw-r--r--integration/test/resources/jawn/build.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/test/resources/jawn/build.sc b/integration/test/resources/jawn/build.sc
index 0c4bdfca..ac9de195 100644
--- a/integration/test/resources/jawn/build.sc
+++ b/integration/test/resources/jawn/build.sc
@@ -1,6 +1,6 @@
import mill.scalalib
import mill.Cross
-import mill.scalalib.{Dep, TestModule, DepSyntax}
+import mill.scalalib.{Dep, TestModule, DepSyntax, Lib}
import ammonite.ops.up
object jawn extends Cross[JawnModule]("2.10.6", "2.11.11", "2.12.3")
class JawnModule(crossVersion: String) extends mill.Module{
@@ -43,7 +43,7 @@ class JawnModule(crossVersion: String) extends mill.Module{
object play extends Support(){
def ivyDeps = mill.T{
- scalaBinaryVersion() match{
+ Lib.scalaBinaryVersion(scalaVersion()) match{
case "2.10" => Agg(ivy"com.typesafe.play::play-json:2.4.11")
case "2.11" => Agg(ivy"com.typesafe.play::play-json:2.5.15")
case _ => Agg(ivy"com.typesafe.play::play-json:2.6.0")