diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-03-22 22:10:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 22:10:13 -0700 |
commit | 3f4195a5f06c655647cd00edfbfe3bc3c2e20f83 (patch) | |
tree | ece0b5a536e1f54272c993b38655046dcf185be6 | |
parent | 49f6c6be4cbb117f572547dbe1e1020bf5b08861 (diff) | |
download | mill-3f4195a5f06c655647cd00edfbfe3bc3c2e20f83.tar.gz mill-3f4195a5f06c655647cd00edfbfe3bc3c2e20f83.tar.bz2 mill-3f4195a5f06c655647cd00edfbfe3bc3c2e20f83.zip |
Make docJar use compileClasspath instead of runClasspath
-rw-r--r-- | scalalib/src/mill/scalalib/ScalaModule.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/mill/scalalib/ScalaModule.scala b/scalalib/src/mill/scalalib/ScalaModule.scala index b5106e3e..7e4217e7 100644 --- a/scalalib/src/mill/scalalib/ScalaModule.scala +++ b/scalalib/src/mill/scalalib/ScalaModule.scala @@ -235,7 +235,7 @@ trait ScalaModule extends mill.Module with TaskModule { outer => if (files.nonEmpty) subprocess( "scala.tools.nsc.ScalaDoc", - scalaCompilerClasspath().map(_.path) ++ runClasspath().filter(_.path.ext != "pom").map(_.path), + scalaCompilerClasspath().map(_.path) ++ compileClasspath().filter(_.path.ext != "pom").map(_.path), mainArgs = (files ++ options).toSeq ) |