try to fix gradle issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-02-22 20:08:44 +00:00
parent 41f87333cf
commit 729e012804
7 changed files with 7 additions and 7 deletions

View File

@ -288,7 +288,7 @@ subprojects {
// Specifying the local via system properties did not work, so we set them this way // Specifying the local via system properties did not work, so we set them this way
jvmArgs << [ jvmArgs += [
'-Djava.awt.headless=true', '-Djava.awt.headless=true',
'-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl', '-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
"-Dversion.id=${project.version}", "-Dversion.id=${project.version}",

View File

@ -121,7 +121,7 @@ sourcesJar {
task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ] ) { task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ] ) {
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests")
classifier 'tests' setArchiveClassifier 'tests'
// ignore second module-info.class from main // ignore second module-info.class from main
duplicatesStrategy = 'exclude' duplicatesStrategy = 'exclude'

View File

@ -128,7 +128,7 @@ jar {
task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ] ) { task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ] ) {
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests")
classifier 'tests' setArchiveClassifier 'tests'
// ignore second module-info.class from main // ignore second module-info.class from main
duplicatesStrategy = 'exclude' duplicatesStrategy = 'exclude'

View File

@ -126,7 +126,7 @@ task generate_beans(dependsOn: copy_xsds) {
} }
task sourceJar(type: Jar) { task sourceJar(type: Jar) {
classifier 'sources' setArchiveClassifier 'sources'
from sourceSets.main.allJava from sourceSets.main.allJava
} }

View File

@ -198,7 +198,7 @@ jar {
task testJar(type: Jar, dependsOn: testClasses) { task testJar(type: Jar, dependsOn: testClasses) {
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests")
classifier 'tests' setArchiveClassifier 'tests'
// ignore second module-info.class from main // ignore second module-info.class from main
duplicatesStrategy = 'exclude' duplicatesStrategy = 'exclude'

View File

@ -101,7 +101,7 @@ jar {
task testJar(type: Jar, dependsOn: testClasses) { task testJar(type: Jar, dependsOn: testClasses) {
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests")
classifier 'tests' setArchiveClassifier 'tests'
// ignore second module-info.class from main // ignore second module-info.class from main
duplicatesStrategy = 'exclude' duplicatesStrategy = 'exclude'

View File

@ -128,7 +128,7 @@ jar {
task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ]) { task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ]) {
destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests")
classifier 'tests' setArchiveClassifier 'tests'
// ignore second module-info.class from main // ignore second module-info.class from main
duplicatesStrategy = 'exclude' duplicatesStrategy = 'exclude'