diff options
author | Nik Vanderhoof <nikolasrvanderhoof@gmail.com> | 2019-03-01 20:16:23 -0500 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2019-03-11 21:37:58 +0100 |
commit | ef0537c9b70100d3b2e94c6b1b1e07bc1e08edb2 (patch) | |
tree | 101c48c666622bd80b19cd6aa1ea6503d04a2250 /docs | |
parent | ff07ba9e001f650a0023a33bdad116a0a17f5c13 (diff) | |
download | mill-ef0537c9b70100d3b2e94c6b1b1e07bc1e08edb2.tar.gz mill-ef0537c9b70100d3b2e94c6b1b1e07bc1e08edb2.tar.bz2 mill-ef0537c9b70100d3b2e94c6b1b1e07bc1e08edb2.zip |
Add section to documentation about ivy classifiers
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pages/2 - Configuring Mill.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/pages/2 - Configuring Mill.md b/docs/pages/2 - Configuring Mill.md index f5a4a24e..dbcbcee4 100644 --- a/docs/pages/2 - Configuring Mill.md +++ b/docs/pages/2 - Configuring Mill.md @@ -60,6 +60,9 @@ dependencies; for Java dependencies you would use a single `:` e.g. against the full Scala version (eg. `2.12.4` instead of just `2.12`), you can use `:::` as in `ivy"org.scalamacros:::paradise:2.1.1"`. +To select the test-jars from a dependency use the following syntax: +`ivy"org.apache.spark::spark-sql:2.4.0;classifier=tests`. + By default these are resolved from maven central, but you can add your own resolvers by overriding the `repositories` definition in the module: |