- Support for Gradle 7.x added (Gradle 5.x and 6.x should still be supported)
- Support for Spotbugs Gradle plugin 4.x added. Since Spotbugs is not backward compatible, support for 2.x/3.x are removed.
- Minor behavior changes:
- Hard-coded pmd version removed. It will now automatically use the associated version with Gradle.
- Migrated to official Spotbugs Android support. There might be minor differences.
- First release under new group name. The plugin is now available under
com.gradleup.static-analysis
plugin id and published in Gradle Plugin Portal. - Package names are changed according to the new repository
- Findbugs support is completely removed in order to support Gradle 6
For more modern plugins approach
plugins {
// Replace
id 'com.novoda.static-analysis' version '1.2'
// With
id 'com.gradleup.static-analysis' version '1.3'
}
For classpath dependency approach:
// Replace
buildscript {
// ...
dependencies {
classpath 'com.novoda:gradle-static-analysis-plugin:1.2'
}
}
apply plugin: 'com.novoda.static-analysis'
// With:
buildscript {
// ...
dependencies {
classpath("com.gradleup:static-analysis-plugin:1.3")
}
}
apply plugin: 'com.gradleup.static-analysis'
Please refer to Novoda's repository for versions older than 1.2: https://github.com/novoda/gradle-static-analysis-plugin/blob/master/CHANGELOG.md