File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
website/docs/guides/introduction Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,17 @@ It is possible to declare dependencies limited to the test scope with the `using
140140More details can be found in
141141the [ ` using ` directives guide] ( using-directives.md#directives-with-a-test-scope-equivalent ) .
142142
143+ ### Compile-Only dependencies
144+
145+ It is possible to declare dependencies that are only used during the compilation phase with the ` using compileOnly.dep ` directive.
146+
147+ ``` scala compile
148+ //> using compileOnly .dep com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2
149+ ```
150+
151+ More details can be found in
152+ the [ ` compile ` command guide] ( ../../commands/compile.md#compile-only-dependencies ) .
153+
143154## Specifying dependencies from the command line
144155
145156You can add dependencies on the command line, with the ` --dependency ` option:
You can’t perform that action at this time.
0 commit comments