diff options
author | Manu Zhang <OwenZhang1990@gmail.com> | 2018-08-01 04:12:38 +0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-08-01 04:12:38 +0800 |
commit | f1982410df10466c9651c10c8402a1739fd2ccb8 (patch) | |
tree | 0b85b87dc8fcb87b2f79552b2b0f9e23ecb88d03 /docs/pages/2 - Configuring Mill.md | |
parent | 9db9f785fa50601905802a19cf75332932d24aa3 (diff) | |
download | mill-f1982410df10466c9651c10c8402a1739fd2ccb8.tar.gz mill-f1982410df10466c9651c10c8402a1739fd2ccb8.tar.bz2 mill-f1982410df10466c9651c10c8402a1739fd2ccb8.zip |
Add doc on excluding Scala library from assembly (#396)
Diffstat (limited to 'docs/pages/2 - Configuring Mill.md')
-rw-r--r-- | docs/pages/2 - Configuring Mill.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/pages/2 - Configuring Mill.md b/docs/pages/2 - Configuring Mill.md index 235fcc44..7ac20f99 100644 --- a/docs/pages/2 - Configuring Mill.md +++ b/docs/pages/2 - Configuring Mill.md @@ -499,6 +499,20 @@ object foo extends ScalaModule { } ``` +To exclude Scala library from assembly + +```scala +// build.sc +import mill._, scalalib._ +import mill.modules.Assembly._ + +object foo extends ScalaModule { + def scalaVersion = "2.12.4" + + def scalaLibraryIvyDeps = T { Agg.empty } +} +``` + ## Downloading Non-Maven Jars ```scala |