MyNixOS website logo

A list of repositories to use when resolving dependencies. Defined as a list of pre-defined repository or custom repository as a set of name to URL. The list will be used populate the ~/.sbt/repositories file in the order specified.

Pre-defined repositories must be one of local, maven-local, maven-central.

Custom repositories are defined as { name-of-repo = "https://url.to.repo.com"}.

See https://www.scala-sbt.org/1.x/docs/Launcher-Configuration.html#3.+Repositories+Section about this configuration section and https://www.scala-sbt.org/1.x/docs/Proxy-Repositories.html to read about proxy repositories.

Declarations
Type
list of (one of "local", "maven-central", "maven-local" or attribute set of string)
Default
[ ]
Example
[
  "local"
  { my-ivy-proxy-releases = "http://repo.company.com/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]" }
  { my-maven-proxy-releases = "http://repo.company.com/maven-releases/" }
  "maven-central"
]