diff options
author | mcallisto <mario.callisto@gmail.com> | 2018-06-11 01:42:59 +0200 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-06-10 16:42:59 -0700 |
commit | f23381603a52c57212959f52dc46431eeb74b620 (patch) | |
tree | 70da01c16e7829777101926648cb54a45682bcdc | |
parent | 440700a836b460ffd9a75f4db27a1634e6371c83 (diff) | |
download | mill-f23381603a52c57212959f52dc46431eeb74b620.tar.gz mill-f23381603a52c57212959f52dc46431eeb74b620.tar.bz2 mill-f23381603a52c57212959f52dc46431eeb74b620.zip |
Correct Unmanaged Jars snippet (#371)
The Unmanaged Jars snippet currently shown is not working, updated with correct solution as per closed issue #361.
-rw-r--r-- | docs/pages/2 - Configuring Mill.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/pages/2 - Configuring Mill.md b/docs/pages/2 - Configuring Mill.md index 60016cbf..6f7b29c7 100644 --- a/docs/pages/2 - Configuring Mill.md +++ b/docs/pages/2 - Configuring Mill.md @@ -448,7 +448,7 @@ object foo extends ScalaModule { def scalaVersion = "2.12.4" def unmanagedClasspath = T { if (!ammonite.ops.exists(millSourcePath / "lib")) Agg() - else Agg.from(ammonite.ops.ls(millSourcePath / "lib")) + else Agg.from(ammonite.ops.ls(millSourcePath / "lib").map(PathRef(_))) } } ``` |