summaryrefslogtreecommitdiff
path: root/integration/src/test/resources/acyclic/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-01-15 22:48:04 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-01-15 23:14:55 -0800
commitd1c65c7e85467c23a31291b02d2f8fa5889335dc (patch)
tree966874a674de54e4f75c39cbb1a3f98d477d524a /integration/src/test/resources/acyclic/build.sc
parent5e9d809c6eb566e8452bbe2f3a986f31c57e5438 (diff)
downloadmill-d1c65c7e85467c23a31291b02d2f8fa5889335dc.tar.gz
mill-d1c65c7e85467c23a31291b02d2f8fa5889335dc.tar.bz2
mill-d1c65c7e85467c23a31291b02d2f8fa5889335dc.zip
- Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependencies
- `projectDeps` is now `moduleDeps` for compatibility with our `Module` terminology - `scalalib.Module` is now `ScalaModule` for compatibility with `import scalalib._`
Diffstat (limited to 'integration/src/test/resources/acyclic/build.sc')
-rw-r--r--integration/src/test/resources/acyclic/build.sc6
1 files changed, 3 insertions, 3 deletions
diff --git a/integration/src/test/resources/acyclic/build.sc b/integration/src/test/resources/acyclic/build.sc
index 140e5dc6..b8f878ad 100644
--- a/integration/src/test/resources/acyclic/build.sc
+++ b/integration/src/test/resources/acyclic/build.sc
@@ -1,5 +1,5 @@
import mill.Cross
-import mill.scalalib.{SbtModule, PublishModule, Dep, CrossSbtModule}
+import mill.scalalib.{SbtModule, PublishModule, Dep, CrossSbtModule, DepSyntax}
import mill.scalalib.publish.{PomSettings, License, Developer, SCM}
object acyclic extends Cross[AcyclicModule]("2.10.6", "2.11.8", "2.12.3", "2.12.4")
@@ -25,12 +25,12 @@ class AcyclicModule(val crossScalaVersion: String) extends CrossSbtModule with P
)
def ivyDeps = Agg(
- Dep.Java("org.scala-lang", "scala-compiler", scalaVersion())
+ ivy"org.scala-lang:scala-compiler:${scalaVersion()}"
)
object test extends Tests{
def forkWorkingDir = ammonite.ops.pwd / 'target / 'workspace / 'acyclic
def ivyDeps = Agg(
- Dep("com.lihaoyi", "utest", "0.6.0")
+ ivy"com.lihaoyi::utest:0.6.0"
)
def testFramework = "utest.runner.Framework"
}