plugins {
    id 'net.corda.plugins.cordapp-cpb2'
}

cordapp {
    targetPlatformVersion platformVersion.toInteger()
    minimumPlatformVersion platformVersion.toInteger()
    workflow {
        name "Test Serializable Test"
        versionId 1
        vendor "R3"
    }
}

dependencies {
    cordapp project(":libs:serialization:serialization-amqp:cpk-two")
    cordapp project(":libs:serialization:serialization-amqp:cpk-three")
    cordaProvided platform("net.corda:corda-api:$cordaApiVersion")
    cordaProvided "net.corda:corda-base"
    cordaProvided 'org.jetbrains.kotlin:kotlin-osgi-bundle'
}

tasks.named('jar', Jar) {
    archiveBaseName = 'TestSerializable4-workflows'
}
