mirror of https://github.com/apache/poi.git
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:
parent
41f87333cf
commit
729e012804
|
@ -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}",
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ task generate_beans(dependsOn: copy_xsds) {
|
|||
}
|
||||
|
||||
task sourceJar(type: Jar) {
|
||||
classifier 'sources'
|
||||
setArchiveClassifier 'sources'
|
||||
from sourceSets.main.allJava
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue