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'
}
}
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'de.thetaphi.forbiddenapis'
+ apply plugin: 'com.github.spotbugs'
version = '5.0.1-SNAPSHOT'
ext {
signing {
sign publishing.publications.POI
}
+
+ spotbugs {
+ ignoreFailures = true
+ }
}
// initial try to provide a combined JavaDoc, grouping is still missing here, though!
}
}
// 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()
}