diff options
Diffstat (limited to 'integration/src/test')
-rw-r--r-- | integration/src/test/resources/acyclic/build.sc | 4 | ||||
-rw-r--r-- | integration/src/test/resources/jawn/build.sc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/integration/src/test/resources/acyclic/build.sc b/integration/src/test/resources/acyclic/build.sc index 91468ad8..942a7c10 100644 --- a/integration/src/test/resources/acyclic/build.sc +++ b/integration/src/test/resources/acyclic/build.sc @@ -3,8 +3,8 @@ import mill.CrossModule import mill.scalalib.{SbtModule, PublishModule, Dep} import mill.scalalib.publish.{PomSettings, License, Developer, SCM} -object acyclic extends CrossModule(AcyclicModule, "2.10.6", "2.11.8", "2.12.3", "2.12.4") -case class AcyclicModule(crossVersion: String, ctx0: Module.Ctx) extends Module()(ctx0) with SbtModule with PublishModule { +object acyclic extends CrossModule[AcyclicModule]("2.10.6", "2.11.8", "2.12.3", "2.12.4") +class AcyclicModule(crossVersion: String) extends SbtModule with PublishModule { def basePath = super.basePath / ammonite.ops.up def artifactName = "acyclic" def publishVersion = "0.1.7" diff --git a/integration/src/test/resources/jawn/build.sc b/integration/src/test/resources/jawn/build.sc index c306196c..67b60f05 100644 --- a/integration/src/test/resources/jawn/build.sc +++ b/integration/src/test/resources/jawn/build.sc @@ -2,8 +2,8 @@ import mill.scalalib import mill.CrossModule import mill.scalalib.{Dep, TestModule, Module} -object jawn extends CrossModule(JawnModule, "2.10.6", "2.11.11", "2.12.3") -case class JawnModule(crossVersion: String, ctx0: mill.Module.Ctx) extends mill.Module()(ctx0) { +object jawn extends CrossModule[JawnModule]("2.10.6", "2.11.11", "2.12.3") +class JawnModule(crossVersion: String) extends mill.Module{ override def basePath = super.basePath / ammonite.ops.up trait JawnModule extends scalalib.SbtModule{ |