From bba249d52207799dc984efd884353aa4783c1c40 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 22 Jan 2022 08:57:38 +0000 Subject: [PATCH] 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 --- poi-excelant/build.gradle | 2 +- poi-integration/build.gradle | 2 +- poi-ooxml/build.gradle | 2 +- poi-scratchpad/build.gradle | 2 +- poi/build.gradle | 2 +- 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') -- 2.39.5