Skip to content

Commit

Permalink
update website
Browse files Browse the repository at this point in the history
  • Loading branch information
doofin committed Oct 19, 2023
1 parent 82cde5f commit 12ef020
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions website/docs/guides/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ or
scala-cli --repository "https://maven-central.storage-download.googleapis.com/maven2"
```

jitpack is also supported, for example:

```scala
//> using repository "jitpack"
//> using lib "com.github.bjornregnell:tabby:0.2.3"
```

Both directive and command line option accept predefined repository definitions (see below) or a URL of the root of Maven repository.

Expand All @@ -73,6 +68,7 @@ Repositories can also be resolved from the `COURSIER_REPOSITORIES` environment v
| 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`.
| ivy2local | Ivy | Local ivy repository, used to publish things locally (e.g. by `publishLocal`). Localized in `<ivy-home>/local`, usually `<user-home>/.ivy/local`. |
| m2Local | Maven | Local maven repository, localized in `<user-home>/.m2/repository` |
| jitpack | Maven | jitpack supports github repo as dependency. Syntax is `using repository "jitpack"`

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))

Expand Down

0 comments on commit 12ef020

Please sign in to comment.