From ef0537c9b70100d3b2e94c6b1b1e07bc1e08edb2 Mon Sep 17 00:00:00 2001 From: Nik Vanderhoof Date: Fri, 1 Mar 2019 20:16:23 -0500 Subject: Add section to documentation about ivy classifiers --- docs/pages/2 - Configuring Mill.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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: -- cgit v1.2.3