Skip to content

Commit 7f42fd1

Browse files
authored
Merge pull request VirtusLab#3601 from VirtusLab/stable
Back port of documentation changes to main
2 parents 9350eef + 647ecc6 commit 7f42fd1

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

modules/directives/src/main/scala/scala/build/preprocessing/directives/Dependency.scala

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ import scala.cli.commands.SpecificationLevel
2121
@DirectiveExamples("//> using dep com.lihaoyi::os-lib:0.9.1")
2222
@DirectiveExamples("//> using test.dep org.scalatest::scalatest:3.2.10")
2323
@DirectiveExamples("//> using test.dep org.scalameta::munit:0.7.29")
24+
@DirectiveExamples(
25+
"//> using compileOnly.dep com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2"
26+
)
2427
@DirectiveExamples(
2528
"//> using dep tabby:tabby:0.2.3,url=https://github.com/bjornregnell/tabby/releases/download/v0.2.3/tabby_3-0.2.3.jar"
2629
)

website/docs/reference/directives.md

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ Add dependencies
107107

108108
`//> using test.dep org.scalameta::munit:0.7.29`
109109

110+
`//> using compileOnly.dep com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2`
111+
110112
`//> using dep tabby:tabby:0.2.3,url=https://github.com/bjornregnell/tabby/releases/download/v0.2.3/tabby_3-0.2.3.jar`
111113

112114
### Exclude sources

website/docs/reference/scala-command/directives.md

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Add dependencies
4848

4949
`//> using test.dep org.scalameta::munit:0.7.29`
5050

51+
`//> using compileOnly.dep com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2`
52+
5153
`//> using dep tabby:tabby:0.2.3,url=https://github.com/bjornregnell/tabby/releases/download/v0.2.3/tabby_3-0.2.3.jar`
5254

5355
### Java options

0 commit comments

Comments
 (0)