diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-04-07 19:19:29 -0700 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-04-07 19:19:29 -0700 |
commit | 19021b773438e24da47f6d0e94e69e5f58625cac (patch) | |
tree | 470a3c5d7e8fdd864e6487a13ac13ac88a289fd8 /build.sc | |
parent | 9598b243d7c5108a99fd98860810f71f6302aec1 (diff) | |
parent | 9c0564f6c86fdd1b2b0d26fc339e4066296f6781 (diff) | |
download | mill-19021b773438e24da47f6d0e94e69e5f58625cac.tar.gz mill-19021b773438e24da47f6d0e94e69e5f58625cac.tar.bz2 mill-19021b773438e24da47f6d0e94e69e5f58625cac.zip |
Merge branch 'master' into client-java
Diffstat (limited to 'build.sc')
-rwxr-xr-x | build.sc | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -11,7 +11,7 @@ import publish._ import mill.modules.Jvm.createAssembly import upickle.Js trait MillPublishModule extends PublishModule{ - def scalaVersion = "2.12.4" + def artifactName = "mill-" + super.artifactName() def publishVersion = build.publishVersion()._2 @@ -27,17 +27,18 @@ trait MillPublishModule extends PublishModule{ ) def javacOptions = Seq("-source", "1.8", "-target", "1.8") - } -object moduledefs extends MillPublishModule{ + +object moduledefs extends MillPublishModule with ScalaModule{ + def scalaVersion = T{ "2.12.4" } def ivyDeps = Agg( ivy"org.scala-lang:scala-compiler:${scalaVersion()}", ivy"com.lihaoyi::sourcecode:0.1.4" ) } -trait MillModule extends MillPublishModule{ outer => - +trait MillModule extends MillPublishModule with ScalaModule{ outer => + def scalaVersion = T{ "2.12.4" } def compileIvyDeps = Agg(ivy"com.lihaoyi::acyclic:0.1.7") def scalacOptions = Seq("-P:acyclic:force") def scalacPluginIvyDeps = Agg(ivy"com.lihaoyi::acyclic:0.1.7") |