aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2023-08-09 07:22:30 +0000
committerDominik Stadler <centic@apache.org>2023-08-09 07:22:30 +0000
commite25c467209a17891bcf1c8bb9a706c1c67d79544 (patch)
tree2c9358eb4375b87fa47e33a9758bf73c4658b8a2
parent2e8afc0c016cee39f56eb5e88ace66ed7f09c7b5 (diff)
downloadpoi-e25c467209a17891bcf1c8bb9a706c1c67d79544.tar.gz
poi-e25c467209a17891bcf1c8bb9a706c1c67d79544.zip
Combine steps for tasks "jenkins" and "jenkinsLite" in one place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911564 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.gradle35
1 files changed, 18 insertions, 17 deletions
diff --git a/build.gradle b/build.gradle
index 846aa5a725..7a61ddf312 100644
--- a/build.gradle
+++ b/build.gradle
@@ -444,18 +444,6 @@ subprojects {
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_17)
}
- task jenkins
- jenkins.dependsOn build
- jenkins.dependsOn check
- jenkins.dependsOn javadoc
- jenkins.dependsOn jacocoTestReport
- jenkins.dependsOn rat
- jenkins.dependsOn getDeps
-
- task jenkinsLite
- jenkins.dependsOn build
- jenkins.dependsOn test
-
publishing {
publications {
POI(MavenPublication) {
@@ -609,11 +597,6 @@ task allJavaDoc(type: Javadoc) {
// options.group('Examples', 'org.apache.poi.examples*')
}
-
-task jenkins(dependsOn: ['replaceVersion', subprojects.build, 'srcDistZip', 'srcDistTar']) {}
-
-task jenkinsLite(dependsOn: ['replaceVersion', subprojects.build]) {}
-
clean {
delete "${rootDir}/build/dist"
}
@@ -673,6 +656,24 @@ rat {
verbose.set(true)
}
+task jenkins(dependsOn: [
+ 'replaceVersion',
+ subprojects.build,
+ subprojects.check,
+ subprojects.javadoc,
+ subprojects.jacocoTestReport,
+ subprojects.getDeps,
+ 'srcDistZip',
+ 'srcDistTar',
+ rat
+]) {}
+
+task jenkinsLite(dependsOn: [
+ 'replaceVersion',
+ subprojects.build,
+ subprojects.test
+]) {}
+
/*task downloadJarsToLibs() {
def f = new File("$projectDir/../lib/ooxml/xmlbeans-5.0.0.jar")
if (!f.exists()) {