]> source.dussan.org Git - poi.git/commitdiff
Don't add main classes to *-test.jar files
authorDominik Stadler <centic@apache.org>
Sat, 22 Jan 2022 08:57:38 +0000 (08:57 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 22 Jan 2022 08:57:38 +0000 (08:57 +0000)
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
poi-integration/build.gradle
poi-ooxml/build.gradle
poi-scratchpad/build.gradle
poi/build.gradle

index 94834f7108e6bbfb1e91c63425637e4c43952d0f..304dd897467e88c5bb2b19c1ef71b5d88f26c68f 100644 (file)
@@ -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')
index 031f8b9a9c645e92199f6380c9cb288840ae8f3a..b60aa4717e564ca18653c58c28b61800faaa2f54 100644 (file)
@@ -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')
index 54bdd07456a6341cbc68f7f9a2c5d3d92c205614..415874a4f8cbf1f285728c082bb6c13886405af0 100644 (file)
@@ -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')
index 8c2549643bf699ed4ca3d9802f7c62f0b4e90bd3..704f33cb8e913e4dc8476b860ae820c8e3ac519e 100644 (file)
@@ -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')
index b2aa41d8bb709f2216dbf0c378abb9349bbd709e..b1bc4e405975618aee31de5b87639ff636c0ca6a 100644 (file)
@@ -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')