Slackbot
02/02/2022, 11:56 PMSterling
Mike Hill
02/04/2022, 8:06 PMuseFilter
options are equivalent to the -x
option and ExcludedTaskFilteringBuildConfigurationAction
? I looked into adding a new build configuration action, but it doesn't look like that's well supported. Would the best option be to just add to the StartParameter#excludedTaskNames
collection?Sterling
tasks.withType(SpotBugs).configureEach { spotbugs ->
spotbugs.enabled = false
}
That could be based on some other state, e.g., you only disable it when you're running a particular task or a particular project property is defined.