update dist path for jenkins archives git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892607 13f79535-47bb-0310-9956-ffa450edef68tags/REL_5_1_0
@@ -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! |
@@ -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() | |||
} |
@@ -161,3 +161,6 @@ publishing { | |||
} | |||
} | |||
} | |||
spotbugsTest.enabled = false | |||
spotbugsMain.enabled = false |