aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2022-01-22 08:57:38 +0000
committerDominik Stadler <centic@apache.org>2022-01-22 08:57:38 +0000
commitbba249d52207799dc984efd884353aa4783c1c40 (patch)
treee19b12d36a887f8d7f9f6449de057fcdb9d65e25
parent416562daa55414bffc1fd811a60be4399239005f (diff)
downloadpoi-bba249d52207799dc984efd884353aa4783c1c40.tar.gz
poi-bba249d52207799dc984efd884353aa4783c1c40.zip
Don't add main classes to *-test.jar files
Better to only provide them once to avoid very strange errors if they differ for some reason git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-excelant/build.gradle2
-rw-r--r--poi-integration/build.gradle2
-rw-r--r--poi-ooxml/build.gradle2
-rw-r--r--poi-scratchpad/build.gradle2
-rw-r--r--poi/build.gradle2
5 files changed, 5 insertions, 5 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle
index 94834f7108..304dd89746 100644
--- a/poi-excelant/build.gradle
+++ b/poi-excelant/build.gradle
@@ -154,7 +154,7 @@ task testJar(type: Jar, dependsOn: [ testClasses, cacheTest9 ] ) {
}
}
- from sourceSets.test.output + sourceSets.main.output
+ from sourceSets.test.output
manifest {
attributes('Automatic-Module-Name': MODULE_NAME, 'Multi-Release': 'true')
diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle
index 031f8b9a9c..b60aa4717e 100644
--- a/poi-integration/build.gradle
+++ b/poi-integration/build.gradle
@@ -147,7 +147,7 @@ task testJar(type: Jar, dependsOn: [ testClasses, cacheTest9 ] ) {
}
}
- from sourceSets.test.output + sourceSets.main.output
+ from sourceSets.test.output
manifest {
attributes('Automatic-Module-Name': MODULE_NAME, 'Multi-Release': 'true')
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle
index 54bdd07456..415874a4f8 100644
--- a/poi-ooxml/build.gradle
+++ b/poi-ooxml/build.gradle
@@ -247,7 +247,7 @@ task testJar(type: Jar, dependsOn: testClasses) {
}
}
- from sourceSets.test.output + sourceSets.main.output
+ from sourceSets.test.output
manifest {
attributes('Automatic-Module-Name': MODULE_NAME, 'Multi-Release': 'true')
diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle
index 8c2549643b..704f33cb8e 100644
--- a/poi-scratchpad/build.gradle
+++ b/poi-scratchpad/build.gradle
@@ -133,7 +133,7 @@ task testJar(type: Jar, dependsOn: testClasses) {
}
}
- from sourceSets.test.output + sourceSets.main.output
+ from sourceSets.test.output
manifest {
attributes('Automatic-Module-Name': MODULE_NAME, 'Multi-Release': 'true')
diff --git a/poi/build.gradle b/poi/build.gradle
index b2aa41d8bb..b1bc4e4059 100644
--- a/poi/build.gradle
+++ b/poi/build.gradle
@@ -162,7 +162,7 @@ task testJar(type: Jar, dependsOn: [ testClasses, cacheTest9 ]) {
}
}
- from sourceSets.test.output + sourceSets.main.output
+ from sourceSets.test.output
manifest {
attributes('Automatic-Module-Name': MODULE_NAME, 'Multi-Release': 'true')