Skip to content

Commit 66bc8d2

Browse files
przemek-pokrywkaPrzemysław Pokrywka
andauthored
Suggest using ivy2Local in the documentation (#3902)
Co-authored-by: Przemysław Pokrywka <[email protected]>
1 parent eaa671e commit 66bc8d2

File tree

6 files changed

+19
-14
lines changed

6 files changed

+19
-14
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import scala.cli.commands.SpecificationLevel
88
@DirectiveGroupName("Repository")
99
@DirectiveExamples("//> using repository jitpack")
1010
@DirectiveExamples("//> using repository sonatype:snapshots")
11+
@DirectiveExamples("//> using repository ivy2Local")
1112
@DirectiveExamples("//> using repository m2Local")
1213
@DirectiveExamples(
1314
"//> using repository https://maven-central.storage-download.googleapis.com/maven2"
@@ -38,5 +39,5 @@ object Repository {
3839
val usageMsg =
3940
"""Add repositories for dependency resolution.
4041
|
41-
|Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository""".stripMargin
42+
|Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository""".stripMargin
4243
}

website/docs/reference/cli-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Aliases: `-r`, `--repo`
300300

301301
Add repositories for dependency resolution.
302302

303-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
303+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
304304

305305
### `--compiler-plugin`
306306

website/docs/reference/directives.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ Enable Python support
457457

458458
Add repositories for dependency resolution.
459459

460-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
460+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
461461

462462
`//> using repository` _repository_
463463

@@ -466,6 +466,8 @@ Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`
466466

467467
`//> using repository sonatype:snapshots`
468468

469+
`//> using repository ivy2Local`
470+
469471
`//> using repository m2Local`
470472

471473
`//> using repository https://maven-central.storage-download.googleapis.com/maven2`

website/docs/reference/scala-command/cli-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Aliases: `-r`, `--repo`
244244

245245
Add repositories for dependency resolution.
246246

247-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
247+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
248248

249249
### `--compiler-plugin`
250250

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Set the default platform to Scala.js or Scala Native
273273

274274
Add repositories for dependency resolution.
275275

276-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
276+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
277277

278278
`//> using repository` _repository_
279279

@@ -282,6 +282,8 @@ Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`
282282

283283
`//> using repository sonatype:snapshots`
284284

285+
`//> using repository ivy2Local`
286+
285287
`//> using repository m2Local`
286288

287289
`//> using repository https://maven-central.storage-download.googleapis.com/maven2`

website/docs/reference/scala-command/runner-specification.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Enable/disable Scala Native multithreading support
216216

217217
Add repositories for dependency resolution.
218218

219-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
219+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
220220

221221
Aliases: `-r` ,`--repo`
222222

@@ -1010,7 +1010,7 @@ Enable/disable Scala Native multithreading support
10101010

10111011
Add repositories for dependency resolution.
10121012

1013-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
1013+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
10141014

10151015
Aliases: `-r` ,`--repo`
10161016

@@ -1605,7 +1605,7 @@ Enable/disable Scala Native multithreading support
16051605

16061606
Add repositories for dependency resolution.
16071607

1608-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
1608+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
16091609

16101610
Aliases: `-r` ,`--repo`
16111611

@@ -2226,7 +2226,7 @@ Enable/disable Scala Native multithreading support
22262226

22272227
Add repositories for dependency resolution.
22282228

2229-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
2229+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
22302230

22312231
Aliases: `-r` ,`--repo`
22322232

@@ -2866,7 +2866,7 @@ Enable/disable Scala Native multithreading support
28662866

28672867
Add repositories for dependency resolution.
28682868

2869-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
2869+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
28702870

28712871
Aliases: `-r` ,`--repo`
28722872

@@ -3482,7 +3482,7 @@ Enable/disable Scala Native multithreading support
34823482

34833483
Add repositories for dependency resolution.
34843484

3485-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
3485+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
34863486

34873487
Aliases: `-r` ,`--repo`
34883488

@@ -4135,7 +4135,7 @@ Enable/disable Scala Native multithreading support
41354135

41364136
Add repositories for dependency resolution.
41374137

4138-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
4138+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
41394139

41404140
Aliases: `-r` ,`--repo`
41414141

@@ -4848,7 +4848,7 @@ Enable/disable Scala Native multithreading support
48484848

48494849
Add repositories for dependency resolution.
48504850

4851-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
4851+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
48524852

48534853
Aliases: `-r` ,`--repo`
48544854

@@ -5817,7 +5817,7 @@ Enable/disable Scala Native multithreading support
58175817

58185818
Add repositories for dependency resolution.
58195819

5820-
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
5820+
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository
58215821

58225822
Aliases: `-r` ,`--repo`
58235823

0 commit comments

Comments
 (0)