diff options
Diffstat (limited to 'scalalib')
-rw-r--r-- | scalalib/src/mill/scalalib/ScalaModule.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scalalib/src/mill/scalalib/ScalaModule.scala b/scalalib/src/mill/scalalib/ScalaModule.scala index 3c5d9479..9c30ad7c 100644 --- a/scalalib/src/mill/scalalib/ScalaModule.scala +++ b/scalalib/src/mill/scalalib/ScalaModule.scala @@ -106,6 +106,7 @@ trait ScalaModule extends mill.Module with TaskModule { outer => T.task{scalacPluginIvyDeps()} )() + def scalaLibraryDeps = T{ scalaRuntimeIvyDeps(scalaVersion()) } /** * Classpath of the Scala Compiler & any compiler plugins */ @@ -122,7 +123,7 @@ trait ScalaModule extends mill.Module with TaskModule { outer => Agg.from(upstreamRunClasspath().flatten) ++ depClasspath() ++ resolveDeps( - T.task{ivyDeps() ++ runIvyDeps() ++ scalaRuntimeIvyDeps(scalaVersion())} + T.task{ivyDeps() ++ runIvyDeps() ++ scalaLibraryDeps() } )() } |