You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both directive and command line option accept predefined repository definitions (see below) or a URL of the root of Maven repository.
55
57
56
58
Repositories can also be resolved from the `COURSIER_REPOSITORIES` environment variable, but this is not recommended (more in [Coursier documentation](https://get-coursier.io/docs/other-repositories)).
57
59
60
+
58
61
#### Predefined repositories
59
62
60
63
| predefined repository | kind | description |
@@ -65,6 +68,7 @@ Repositories can also be resolved from the `COURSIER_REPOSITORIES` environment v
65
68
| snapshots | Maven [(root)](https://oss.sonatype.org/content/repositories/snapshots) and Maven S01 [(root)](https://s01.oss.sonatype.org/content/repositories/snapshots) | An alias for `sonatype:snapshots` and `sonatype-s01:snapshots`.
66
69
| ivy2local | Ivy | Local ivy repository, used to publish things locally (e.g. by `publishLocal`). Localized in `<ivy-home>/local`, usually `<user-home>/.ivy/local`. |
67
70
| m2Local | Maven | Local maven repository, localized in `<user-home>/.m2/repository`|
71
+
| jitpack | Maven | jitpack supports github repo as dependency. Syntax is `using repository "jitpack"`
68
72
69
73
Scala CLI delegates parsing of predefined repositories to Coursier and full details can be obtained from Coursier source code ([here](https://github.com/coursier/coursier/blob/2444eebcc151e0f6927e269137e8737c1f31cbe2/modules/coursier/jvm/src/main/scala/coursier/LocalRepositories.scala) and [here](https://github.com/coursier/coursier/blob/2444eebcc151e0f6927e269137e8737c1f31cbe2/modules/coursier/shared/src/main/scala/coursier/internal/SharedRepositoryParser.scala))
70
74
@@ -197,4 +201,4 @@ Both can be handled with the appropriate `using` directives, too:
197
201
198
202
:::caution
199
203
Local JARs with the `*-sources.jar` suffix are assumed to be sources JARs and are treated as such.
0 commit comments