mirror of https://github.com/apache/poi.git
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
This commit is contained in:
parent
2e8afc0c01
commit
e25c467209
35
build.gradle
35
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()) {
|
||||
|
|
Loading…
Reference in New Issue