diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-02-22 20:08:44 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-02-22 20:08:44 +0000 |
commit | 729e012804f92f4db5f1d3e14eca62982f39d298 (patch) | |
tree | cca68595967b701376ed070fef58d280417e2e2d | |
parent | 41f87333cfba03f5b25554ae0c7e78fc82a3710d (diff) | |
download | poi-729e012804f92f4db5f1d3e14eca62982f39d298.tar.gz poi-729e012804f92f4db5f1d3e14eca62982f39d298.zip |
try to fix gradle issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907808 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | poi-excelant/build.gradle | 2 | ||||
-rw-r--r-- | poi-integration/build.gradle | 2 | ||||
-rw-r--r-- | poi-ooxml-full/build.gradle | 2 | ||||
-rw-r--r-- | poi-ooxml/build.gradle | 2 | ||||
-rw-r--r-- | poi-scratchpad/build.gradle | 2 | ||||
-rw-r--r-- | poi/build.gradle | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle index 47527c02be..2e8a4b6919 100644 --- a/build.gradle +++ b/build.gradle @@ -288,7 +288,7 @@ subprojects { // Specifying the local via system properties did not work, so we set them this way - jvmArgs << [ + jvmArgs += [ '-Djava.awt.headless=true', '-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl', "-Dversion.id=${project.version}", diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index 0c0bb935d4..d61d41267b 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -121,7 +121,7 @@ sourcesJar { task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ] ) { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") - classifier 'tests' + setArchiveClassifier 'tests' // ignore second module-info.class from main duplicatesStrategy = 'exclude' diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle index f9967fc2dd..4941a232d7 100644 --- a/poi-integration/build.gradle +++ b/poi-integration/build.gradle @@ -128,7 +128,7 @@ jar { task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ] ) { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") - classifier 'tests' + setArchiveClassifier 'tests' // ignore second module-info.class from main duplicatesStrategy = 'exclude' diff --git a/poi-ooxml-full/build.gradle b/poi-ooxml-full/build.gradle index 01e5d47d91..81f38a8e0e 100644 --- a/poi-ooxml-full/build.gradle +++ b/poi-ooxml-full/build.gradle @@ -126,7 +126,7 @@ task generate_beans(dependsOn: copy_xsds) { } task sourceJar(type: Jar) { - classifier 'sources' + setArchiveClassifier 'sources' from sourceSets.main.allJava } diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index d03752bdb8..bb54b14bbb 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -198,7 +198,7 @@ jar { task testJar(type: Jar, dependsOn: testClasses) { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") - classifier 'tests' + setArchiveClassifier 'tests' // ignore second module-info.class from main duplicatesStrategy = 'exclude' diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle index 60efe68b22..7f08037587 100644 --- a/poi-scratchpad/build.gradle +++ b/poi-scratchpad/build.gradle @@ -101,7 +101,7 @@ jar { task testJar(type: Jar, dependsOn: testClasses) { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") - classifier 'tests' + setArchiveClassifier 'tests' // ignore second module-info.class from main duplicatesStrategy = 'exclude' diff --git a/poi/build.gradle b/poi/build.gradle index c2f60e24a0..649251f975 100644 --- a/poi/build.gradle +++ b/poi/build.gradle @@ -128,7 +128,7 @@ jar { task testJar(type: Jar, dependsOn: [ testClasses, compileTest9 ]) { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") - classifier 'tests' + setArchiveClassifier 'tests' // ignore second module-info.class from main duplicatesStrategy = 'exclude' |