diff options
Diffstat (limited to 'scalaplugin')
-rw-r--r-- | scalaplugin/src/main/scala/mill/scalaplugin/ScalaModule.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scalaplugin/src/main/scala/mill/scalaplugin/ScalaModule.scala b/scalaplugin/src/main/scala/mill/scalaplugin/ScalaModule.scala index 4ba41f86..1ba15061 100644 --- a/scalaplugin/src/main/scala/mill/scalaplugin/ScalaModule.scala +++ b/scalaplugin/src/main/scala/mill/scalaplugin/ScalaModule.scala @@ -85,7 +85,7 @@ trait ScalaModule extends Module with TaskModule{ outer => } def upstreamCompileDepClasspath = T{ - Task.traverse(projectDeps.map(_.compileDepClasspath)) + Task.traverse(projectDeps.map(_.externalCompileDepClasspath)) } def upstreamCompileDepSources = T{ Task.traverse(projectDeps.map(_.externalCompileDepSources)) @@ -100,10 +100,11 @@ trait ScalaModule extends Module with TaskModule{ outer => repositories, scalaVersion(), scalaBinaryVersion(), - deps() + deps(), + sources ) } - def externalCompileDepClasspath = T{ + def externalCompileDepClasspath: T[Seq[PathRef]] = T{ upstreamCompileDepClasspath().flatten ++ resolveDeps( T.task{ivyDeps() ++ compileIvyDeps() ++ scalaCompilerIvyDeps(scalaVersion())} |