diff options
author | rockjam <5min4eq.unity@gmail.com> | 2017-12-01 23:27:18 +0300 |
---|---|---|
committer | rockjam <5min4eq.unity@gmail.com> | 2017-12-07 20:57:19 +0300 |
commit | 24f60cc893f0ca8e37992a2cf48bad20c923a2d8 (patch) | |
tree | 978d776180b8a3364c44b84b7dc094f54393e466 /build.sc | |
parent | 87a3aadaa9176941b43475f7468dc75ce682f651 (diff) | |
download | mill-24f60cc893f0ca8e37992a2cf48bad20c923a2d8.tar.gz mill-24f60cc893f0ca8e37992a2cf48bad20c923a2d8.tar.bz2 mill-24f60cc893f0ca8e37992a2cf48bad20c923a2d8.zip |
pass compile analysis of projectDeps to zinc, fixes #29
Diffstat (limited to 'build.sc')
-rwxr-xr-x | build.sc | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -82,16 +82,13 @@ object ScalaPlugin extends MillModule { override def projectDeps = Seq(Core) def basePath = pwd / 'scalaplugin - override def compile = T.persistent[mill.eval.PathRef]{ - super.compile() - } override def testArgs = T{ val mapping = Map( - "MILL_COMPILER_BRIDGE_2_10_6" -> bridges("2.10.6").compile().path, - "MILL_COMPILER_BRIDGE_2_11_8" -> bridges("2.11.8").compile().path, - "MILL_COMPILER_BRIDGE_2_11_11" -> bridges("2.11.11").compile().path, - "MILL_COMPILER_BRIDGE_2_12_3" -> bridges("2.12.3").compile().path, - "MILL_COMPILER_BRIDGE_2_12_4" -> bridges("2.12.4").compile().path, + "MILL_COMPILER_BRIDGE_2_10_6" -> bridges("2.10.6").compile().classes.path, + "MILL_COMPILER_BRIDGE_2_11_8" -> bridges("2.11.8").compile().classes.path, + "MILL_COMPILER_BRIDGE_2_11_11" -> bridges("2.11.11").compile().classes.path, + "MILL_COMPILER_BRIDGE_2_12_3" -> bridges("2.12.3").compile().classes.path, + "MILL_COMPILER_BRIDGE_2_12_4" -> bridges("2.12.4").compile().classes.path, ) for((k, v) <- mapping.toSeq) yield s"-D$k=$v" } |