From a75dd409aaf92d8edd80aa19412d71d833f9c5ad Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Sat, 9 Sep 2017 09:56:39 +0100 Subject: [PATCH] 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. --- verify-enclave/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/verify-enclave/build.gradle b/verify-enclave/build.gradle index 27273ebe48..99eea3e645 100644 --- a/verify-enclave/build.gradle +++ b/verify-enclave/build.gradle @@ -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(