From 7616f325045f364a608d2a22c0c08d54d8bdc13d Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Thu, 5 May 2022 10:02:23 +0800 Subject: [PATCH] java deps directive --- website/docs/guides/using-directives.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/guides/using-directives.md b/website/docs/guides/using-directives.md index 6222f6606b..31505d7c43 100644 --- a/website/docs/guides/using-directives.md +++ b/website/docs/guides/using-directives.md @@ -110,6 +110,7 @@ Below is a list of the most important `using` directives that Scala CLI supports - `//> using scala ""` - defines version of Scala used - `//> using lib "org::name:version"` - defines dependency to a given library [more in dedicated guide](./guides/dependencies.md) +- `//> using lib "org:name:version"` - defines dependency to a given **java** library, note the `:` instead of `::` - `//> using lib "org::name:version,url=url"` - defines dependency to a given library with a fallback to its jar url - `//> using resourceDir ""` - marks directory as source of resources. Resources accessible at runtime and packaged together with compiled code. - ``//> using `java-opt` ""`` - use given java options when running application or tests