mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +00:00
3b8347e150
There were two issues: * The original "sealing violation: can't seal package net.corda.nodeapi" issue was due to the isolated CorDapp containing some code in the net.corda.nodeapi namespace. This has been moved to the isolated namespace. * The test was not correctly creating the second transaction with the dummy command
30 lines
700 B
Groovy
30 lines
700 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: CanonicalizerPlugin
|
|
apply plugin: 'net.corda.plugins.cordapp'
|
|
|
|
description 'Isolated CorDapp for testing'
|
|
|
|
dependencies {
|
|
cordaCompile project(':core')
|
|
}
|
|
|
|
cordapp {
|
|
targetPlatformVersion corda_platform_version.toInteger()
|
|
minimumPlatformVersion 1
|
|
sealing {
|
|
enabled false // This needs to be disabled for AttachmentsClassLoaderSerializationTests to work
|
|
}
|
|
contract {
|
|
name "Isolated Test CorDapp"
|
|
versionId 1
|
|
vendor "R3"
|
|
licence "Open Source (Apache 2)"
|
|
}
|
|
workflow {
|
|
name "Isolated Test CorDapp"
|
|
versionId 1
|
|
vendor "R3"
|
|
licence "Open Source (Apache 2)"
|
|
}
|
|
}
|