Remove component signature files from enclave's fat jar. (#34)

* Remove component signature files from enclave's fat jar.
* Create fat jar using everything in the runtime configuration.
This commit is contained in:
Chris Rankin 2017-09-09 09:56:39 +01:00 committed by GitHub
parent fdc73571e5
commit a75dd409aa

View File

@ -50,8 +50,12 @@ jar {
from '../node/capsule/NOTICE' // Copy CDDL notice
// Create a fat jar by packing all deps into the output
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
exclude "META-INF/*.SF"
exclude "META-INF/*.MF"
archiveName "corda-enclavelet.jar"
manifest {
attributes(