corda/samples/simm-valuation-demo/flows/build.gradle
2019-05-20 16:16:49 +01:00

46 lines
1.7 KiB
Groovy

apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'net.corda.plugins.cordapp'
cordapp {
targetPlatformVersion = corda_platform_version.toInteger()
minimumPlatformVersion 1
sealing {
// Cannot seal JAR because other module also defines classes in the package net.corda.vega.analytics
enabled false
}
workflow {
name "net/corda/vega/flows"
versionId 1
vendor "R3"
licence "Open Source (Apache 2)"
}
}
dependencies {
cordaCompile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
// 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')
// Corda integration dependencies
cordaCompile project(':core')
// Cordapp dependencies
// Specify your cordapp's dependencies below, including dependent cordapps
compile "com.opengamma.strata:strata-basics:$strata_version"
compile "com.opengamma.strata:strata-product:$strata_version"
compile "com.opengamma.strata:strata-data:$strata_version"
compile "com.opengamma.strata:strata-calc:$strata_version"
compile "com.opengamma.strata:strata-pricer:$strata_version"
compile "com.opengamma.strata:strata-report:$strata_version"
compile "com.opengamma.strata:strata-market:$strata_version"
compile "com.opengamma.strata:strata-collect:$strata_version"
compile "com.opengamma.strata:strata-loader:$strata_version"
compile "com.opengamma.strata:strata-math:$strata_version"
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}