SIMM valuation sample: do not use shrink custom task by default (and only use for JDK 1.8 due to Proguard version not supporting JDK 11)

This commit is contained in:
josecoll 2019-04-09 13:36:53 +01:00
parent 0244695a9b
commit c48e72ae66
3 changed files with 4 additions and 3 deletions

View File

@ -31,7 +31,7 @@ dependencies {
// The SIMM demo CorDapp depends upon Cash CorDapp features
cordapp project(':finance:contracts')
cordapp project(':finance:workflows')
cordapp project(path: ':samples:simm-valuation-demo:contracts-states', configuration: 'shrinkArtifacts')
cordapp project(':samples:simm-valuation-demo:contracts-states')
cordapp project(':samples:simm-valuation-demo:flows')
// Corda integration dependencies

View File

@ -87,7 +87,8 @@ task sign(type: net.corda.plugins.SignJar) {
inputJars shrink
}
jar.finalizedBy shrink
if (!JavaVersion.current().java8Compatible)
jar.finalizedBy shrink
shrink.finalizedBy sign
artifacts {

View File

@ -22,7 +22,7 @@ dependencies {
// The SIMM demo CorDapp depends upon Cash CorDapp features
cordapp project(':finance:workflows')
cordapp project(':finance:contracts')
cordapp project(path: ':samples:simm-valuation-demo:contracts-states', configuration: 'shrinkArtifacts')
cordapp project(':samples:simm-valuation-demo:contracts-states')
// Corda integration dependencies
cordaCompile project(':core')