programs.sbt.enable
Whether to enable sbt.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.sbt.package
The sbt package to use.
Type: package
Default:
pkgs.sbt
Declared by:
programs.sbt.baseUserConfigPath
Where the sbt configuration files should be located, relative
HOME.
Type: string
Default:
".sbt"
Declared by:
programs.sbt.credentials
A list of credentials to define in the sbt configuration directory.
Type: list of (submodule)
Default:
[ ]
Example:
[
{
host = "example.com";
passwordCommand = "pass show sbt/user@example.com";
realm = "Sonatype Nexus Repository Manager";
user = "user";
}
]
Declared by:
programs.sbt.credentials.*.host
The hostname of the repository you’re authenticating to.
Type: string
Declared by:
programs.sbt.credentials.*.passwordCommand
The command that provides the password or authentication token for the repository.
Type: string
Declared by:
programs.sbt.credentials.*.realm
The realm of the repository you’re authenticating to.
Type: string
Declared by:
programs.sbt.credentials.*.user
The user you’re using to authenticate.
Type: string
Declared by:
programs.sbt.plugins
A list of plugins to place in the sbt configuration directory.
Type: list of (submodule)
Default:
[ ]
Example:
[
{
artifact = "sbt-dependency-graph";
org = "net.virtual-void";
version = "0.10.0-RC1";
}
{
artifact = "sbt-project-graph";
org = "com.dwijnand";
version = "0.4.0";
}
]
Declared by:
programs.sbt.plugins.*.artifact
The name of the artifact.
Type: string
Declared by:
programs.sbt.plugins.*.org
The organization the artifact is published under.
Type: string
Declared by:
programs.sbt.plugins.*.version
The version of the plugin.
Type: string
Declared by:
programs.sbt.pluginsExtra
A list of extra commands to put in plugins conf file.
Use it in last resort when you can’t use the plugins option.
Type: list of string
Default:
[ ]
Example:
[
"addDependencyTreePlugin"
]
Declared by:
programs.sbt.repositories
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.
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"
]
Declared by: