Gradle quality plugin for Java and Groovy
sl4j-simple
dependency: you will see default slf4j warnings
but everything will work in all cases and will no more fail due to sl4j version class with gradle's own sl4j (#20)asm
7.3.1 is directly specified to force 7.3.1 because otherwise gradle (5.6) downgrades it to 7.2 (which leads to execution fails "no class def found").WARNING (spotbugs related):
quality.spotbugsVersion = ..
) then you'll have
to also force correct asm version on spotbugs configuration.slf4j-simple
dependency to spotbugs configuration.
(normally, spotbugs logs are not important and removing dependency fixes some environments)slf4j-nop
dependency into spotbugs
configuration. I can't do it automatically because I may introduce new sl4j compatibility problems due to incorrect version.InvalidSlf4jMessageFormat
name changed to InvalidLogMessageFormat
[priority 2 / rank 14]
[fb-contrib project | Correctness | FCBL_FIELD_COULD_BE_LOCAL]
// NOPMD
)java.lang.AutoCloseable
in CloseResource rule
because it produces too many false positivespmdIncremental
option - shortcut for gradle's pmd.incrementalAnalysis
option. Disabled by default.NOTE com.github.spotbugs plugin not updated to more recent version (1.6.9) because it breaks gradle 4.0-4.6 compatibility (versions from 1.6.6) and build cache support