SBT
Note: When using the legacy resolver (sbt.newSbtResolution=false), the SBT dependency graph plugin should be installed in the project for optimal results.
|
Configuration File Parameter |
Description and Expected Behavior |
If True |
If False |
Default |
Command Line Parameter Available? |
|---|---|---|---|---|---|
|
sbt.resolveDependencies |
Whether to resolve |
Will resolve |
The Scala dependencies will not be resolved. |
True
|
No |
|
sbt.ignoreSourceFiles |
When using the dependency resolver, it will include only package dependencies, not source files (file extensions .scala and .sbt). NOTE: Only relevant when fileSystemScan is true. |
Will ignore such source files in the scan. |
Will scan such source files. |
True |
No |
|
sbt.aggregateModules |
Whether to create a single project for all modules. |
Will gather all Scala modules' scanned dependencies into one project in the Mend application. |
A project will be created individually for each module. The name of the project will be equal to the name of the module (projectName will be ignored in this case). |
False |
No |
|
sbt.runPreStep |
Whether to run "sbt compile" on the Scala project folder (only applicable in the legacy resolver,
|
Will run the "sbt compile" command. |
Will not run the command. |
False |
No |
|
sbt.includedScopes |
Describes which scopes should be scanned in the Scala resolver. Users can define additional scopes. |
N/A |
N/A |
Default scopes:
Additional supported scopes:
|
No |
|
sbt.newSbtResolution |
Whether to resolve Note that only 1.x sbt versions are supported. |
Will resolve Note that when set to ‘true’, this flag renders the sbt.runPreStep flag obsolete, as the new sbt resolution method does not require a pre-step. |
Scala dependencies will be resolved using the legacy sbt resolution method (applicable when sbt.resolveDependencies=true).
|
False |
No |