Skip to main content

SBT

SBT

The SBT package manager for Scala.

Description​

The SBT package manager for Scala.

Configuration​

Example​

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
analyzer:
packageManagers:
SBT:
options:
sbtVersion: <OPTIONAL_STRING>
javaVersion: <OPTIONAL_STRING>
javaHome: <OPTIONAL_STRING>

Use the following syntax to configure this plugin in a repository's .ort.yml:

analyzer:
package_managers:
SBT:
options:
sbtVersion: <OPTIONAL_STRING>
javaVersion: <OPTIONAL_STRING>
javaHome: <OPTIONAL_STRING>

If the plugin is configured in both locations, the configurations are merged, with options from .ort.yml taking precedence over those from config.yml.

Options​

sbtVersion​

STRING

The version of SBT to use when analyzing projects. Defaults to the version defined in the build properties.

javaVersion​

STRING

The version of Java to use when analyzing projects. By default, the same Java version as for ORT itself it used. Overrides javaHome if both are specified.

javaHome​

STRING

The directory of the Java home to use when analyzing projects. By default, the same Java home as for ORT itself is used.