api / org.gradle.api.plugins.quality / FindBugsExtension / setExtraArgs

setExtraArgs

open fun setExtraArgs(extraArgs: MutableCollection<String>): Unit

Any additional arguments (not covered here more explicitly like effort) to be passed along to FindBugs.

Extra arguments are passed to FindBugs after the arguments Gradle understands (like effort but before the list of classes to analyze. This should only be used for arguments that cannot be provided by Gradle directly. Gradle does not try to interpret or validate the arguments before passing them to FindBugs.

See the FindBugs TextUICommandLine source for available options.

Since
2.6