File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ plugins {
2525dependencies {
2626 api(project(" :plugins:commands:command-api" ))
2727
28- implementation(platform(project(" :plugins:scanners" )))
29-
3028 implementation(project(" :scanner" ))
3129 implementation(project(" :model" ))
3230 implementation(project(" :utils:common-utils" ))
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ import org.ossreviewtoolkit.plugins.commands.api.utils.configurationGroup
5757import org.ossreviewtoolkit.plugins.commands.api.utils.outputGroup
5858import org.ossreviewtoolkit.plugins.commands.api.utils.readOrtResult
5959import org.ossreviewtoolkit.plugins.commands.api.utils.writeOrtResult
60- import org.ossreviewtoolkit.plugins.scanners.scancode.ScanCode
6160import org.ossreviewtoolkit.scanner.ScanStorages
6261import org.ossreviewtoolkit.scanner.Scanner
6362import org.ossreviewtoolkit.scanner.ScannerWrapper
@@ -115,7 +114,7 @@ class ScannerCommand : OrtCommand(
115114 private val scanners by option(
116115 " --scanners" , " -s" ,
117116 help = " A comma-separated list of scanners to use.\n Possible values are: ${ScannerWrapper .ALL .keys} "
118- ).convertToScannerWrapperFactories().default(listOf ( ScanCode . Factory () ))
117+ ).convertToScannerWrapperFactories().default(listOfNotNull( ScannerWrapper . ALL [ " ScanCode " ] ))
119118
120119 private val projectScanners by option(
121120 " --project-scanners" ,
You can’t perform that action at this time.
0 commit comments