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
This commit is contained in:
Dominik Stadler 2022-01-22 08:57:38 +00:00
parent 416562daa5
commit bba249d522
5 changed files with 5 additions and 5 deletions

View 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')

View 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')

View 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')

View 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')

View 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')