try to fix build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906208 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-12-26 00:24:29 +00:00
parent edee60d87a
commit 8898d2d15a
10 changed files with 6 additions and 9 deletions

View File

@ -794,8 +794,8 @@ distributions {
}
}
binDistZip.dependsOn 'zipJavadocs', ':poi-ooxml-lite:jar'
binDistTar.dependsOn 'zipJavadocs', ':poi-ooxml-lite:jar'
binDistZip.dependsOn 'zipJavadocs', ':poi-ooxml-lite:jar', cyclonedxBom
binDistTar.dependsOn 'zipJavadocs', ':poi-ooxml-lite:jar', cyclonedxBom
task soLinkCheck() {
doLast {

View File

@ -81,7 +81,7 @@ task cacheJava9(type: Copy) {
}
jar {
dependsOn cacheJava9, cyclonedxBom
dependsOn cacheJava9
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}")

View File

@ -117,7 +117,7 @@ task cacheTest9(type: Copy) {
}
jar {
dependsOn cacheJava9, cyclonedxBom
dependsOn cacheJava9
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}")

View File

@ -141,7 +141,7 @@ task sourceJar(type: Jar) {
}
jar {
dependsOn 'sourceJar', cyclonedxBom
dependsOn 'sourceJar'
if (jdkVersion == 8) {
into('META-INF/versions/9') {

View File

@ -123,7 +123,6 @@ task cacheJava9(type: Copy, dependsOn: 'compileJava9') {
}
jar {
dependsOn cyclonedxBom
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}")
doFirst {

View File

@ -228,7 +228,6 @@ task cacheTest9(type: Copy) {
}
jar {
dependsOn cyclonedxBom
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}")
if (jdkVersion == 8) {

View File

@ -113,7 +113,6 @@ task cacheTest9(type: Copy) {
}
jar {
dependsOn cyclonedxBom
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}")
if (jdkVersion == 8) {

View File

@ -142,7 +142,7 @@ task cacheTest9(type: Copy) {
}
jar {
dependsOn cacheJava9, cyclonedxBom
dependsOn cacheJava9
if (jdkVersion == 8) {
into('META-INF/versions/9') {