This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch GROOVY_3_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 2e0b4dc24f294e3a4da72a5e7f13c5a1d8773277 Author: Daniel Sun <[email protected]> AuthorDate: Sat Mar 14 21:10:20 2020 +0800 Downgrade spotbugs to 3.1.11 As Paul King found, the latest spotbugs plugin is still broken for us. All reports with errors are truncated so as not to show the interesting details. (cherry picked from commit b133809ae4412b06a9ae42b266b6a89762789beb) --- build.gradle | 8 +++++--- gradle/quality.gradle | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index cdce559..adefcc9 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,9 @@ buildscript { plugins { id 'me.champeau.buildscan-recipes' version '0.2.3' - id 'com.github.spotbugs' version '4.0.2' + // id 'com.github.spotbugs' version '3.0.0' // fails due to Guava conflict: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/166 + // id 'com.github.spotbugs' version '1.6.9' // not compatible with Gradle 6 + id 'jp.skypencil.spotbugs.snom' version '0.4.13' // work in progress replacement of above id 'com.github.ben-manes.versions' version '0.28.0' id 'com.github.blindpirate.osgi' version '0.0.3' } @@ -150,8 +152,8 @@ ext { xmlunitVersion = '1.6' xstreamVersion = '1.4.11.1' spockVersion = '1.3-groovy-2.5-SNAPSHOT' // supports up to 3.9.99 - spotbugsVersion = '4.0.0' - spotbugsAnnotationsVersion = '4.0.0' + spotbugsVersion = '3.1.11' + spotbugsAnnotationsVersion = '3.1.11' checkstyleVersion = '8.30' } diff --git a/gradle/quality.gradle b/gradle/quality.gradle index a00c86a..3643a7a 100644 --- a/gradle/quality.gradle +++ b/gradle/quality.gradle @@ -24,7 +24,8 @@ allprojects { proj -> //apply plugin: "com.github.hierynomus.license" apply plugin: 'checkstyle' apply plugin: 'codenarc' - apply plugin: 'com.github.spotbugs' + // apply plugin: 'com.github.spotbugs' + apply plugin: 'jp.skypencil.spotbugs.snom' configurations.codenarc { // because we will rely on the version we build // because version ranges are evil
