Fix DemoBench distribution target.

This commit is contained in:
Chris Rankin 2017-02-04 16:23:51 +00:00
parent a0749e29ef
commit 8b5fe3bbf0

View File

@ -19,6 +19,8 @@ apply plugin: 'java'
apply plugin: 'kotlin' apply plugin: 'kotlin'
apply plugin: 'application' apply plugin: 'application'
evaluationDependsOn(':tools:explorer:capsule')
sourceCompatibility = 1.8 sourceCompatibility = 1.8
mainClassName = 'net.corda.demobench.DemoBench' mainClassName = 'net.corda.demobench.DemoBench'
applicationDefaultJvmArgs = ['-Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig'] applicationDefaultJvmArgs = ['-Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig']
@ -86,13 +88,16 @@ distributions {
into('lib/win') { into('lib/win') {
from 'libs/win' from 'libs/win'
} }
// from(project(':tools:explorer:capsule').tasks.buildExplorerJAR) { from(project(':tools:explorer:capsule').tasks.buildExplorerJAR) {
// into 'explorer' rename 'node-explorer-(.*)', 'node-explorer.jar'
// } into 'explorer'
}
from(project(':node:capsule').tasks.buildCordaJAR) { from(project(':node:capsule').tasks.buildCordaJAR) {
rename 'corda-(.*)', 'corda.jar'
into 'corda' into 'corda'
} }
from(project(':samples:bank-of-corda-demo').jar) { from(project(':samples:bank-of-corda-demo').jar) {
rename 'bank-of-corda-demo-(.*)', 'bank-of-corda.jar'
into 'plugins' into 'plugins'
} }
} }