aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle6
-rw-r--r--jenkins/create_jobs.groovy2
-rw-r--r--poi-ooxml-full/build.gradle3
3 files changed, 10 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 9b4f42e3b1..1522a04637 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,6 +24,7 @@ buildscript {
dependencies {
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.1.1'
classpath 'de.thetaphi:forbiddenapis:3.1'
+ classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.3'
}
}
@@ -98,6 +99,7 @@ subprojects {
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'de.thetaphi.forbiddenapis'
+ apply plugin: 'com.github.spotbugs'
version = '5.0.1-SNAPSHOT'
ext {
@@ -391,6 +393,10 @@ subprojects {
signing {
sign publishing.publications.POI
}
+
+ spotbugs {
+ ignoreFailures = true
+ }
}
// initial try to provide a combined JavaDoc, grouping is still missing here, though!
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 61770bf702..a81f09eb05 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -484,7 +484,7 @@ poijobs.each { poijob ->
}
}
// in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
- archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,poi-integration/build/test-results/**,*/build/libs/*.jar')
+ archiveArtifacts('build/dist/*.tgz,build/dist/maven/*/*.jar,build/coverage/**')
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
}
diff --git a/poi-ooxml-full/build.gradle b/poi-ooxml-full/build.gradle
index c723b0e8e9..200b99b6e9 100644
--- a/poi-ooxml-full/build.gradle
+++ b/poi-ooxml-full/build.gradle
@@ -161,3 +161,6 @@ publishing {
}
}
}
+
+spotbugsTest.enabled = false
+spotbugsMain.enabled = false \ No newline at end of file