apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'net.corda.plugins.cordapp'

description 'Corda Notary Demo - Workflows'

dependencies {
    cordaProvided project(':core')
    cordaProvided project(':client:rpc')

    // We need to implementation against the Node, but also DO NOT
    // want the Node bundled inside the CorDapp or added to
    // Gradle's runtime classpath.
    cordaProvided project(':node')
    cordaProvided project(':node-api')

    cordapp project(':samples:notary-demo:contracts')

    implementation "co.paralleluniverse:quasar-core:$quasar_version"
}

cordapp {
    targetPlatformVersion corda_platform_version.toInteger()
    minimumPlatformVersion 1
    workflow {
        name "Corda Notary Demo"
        versionId 1
        vendor "R3"
        licence "Open Source (Apache 2)"
    }
}

jar {
    baseName 'corda-notary-demo-workflows'
    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
