From 8b5fe3bbf0822316c9dc5dbeacfb1785bf8ceeed Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Sat, 4 Feb 2017 16:23:51 +0000 Subject: [PATCH] Fix DemoBench distribution target. --- tools/demobench/build.gradle | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/demobench/build.gradle b/tools/demobench/build.gradle index 54f7e3fb57..434c609253 100644 --- a/tools/demobench/build.gradle +++ b/tools/demobench/build.gradle @@ -19,6 +19,8 @@ apply plugin: 'java' apply plugin: 'kotlin' apply plugin: 'application' +evaluationDependsOn(':tools:explorer:capsule') + sourceCompatibility = 1.8 mainClassName = 'net.corda.demobench.DemoBench' applicationDefaultJvmArgs = ['-Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig'] @@ -86,13 +88,16 @@ distributions { into('lib/win') { from 'libs/win' } -// from(project(':tools:explorer:capsule').tasks.buildExplorerJAR) { -// into 'explorer' -// } + from(project(':tools:explorer:capsule').tasks.buildExplorerJAR) { + rename 'node-explorer-(.*)', 'node-explorer.jar' + into 'explorer' + } from(project(':node:capsule').tasks.buildCordaJAR) { + rename 'corda-(.*)', 'corda.jar' into 'corda' } from(project(':samples:bank-of-corda-demo').jar) { + rename 'bank-of-corda-demo-(.*)', 'bank-of-corda.jar' into 'plugins' } }