mirror of https://github.com/apache/poi.git
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:
parent
416562daa5
commit
bba249d522
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue