现在,Corda金融罐已被划分为corda-finance合同和corda-finance-workflow,如何使用build.gradle中的deployNodes任务将corda-finance-currencies添加到CorDapp?
现在,当我尝试部署时,出现以下错误消息:
Attempted to find dependent attachment for class net/corda/finance/Currencies, but could not find a suitable candidate.
答案 0 :(得分:1)
答案 1 :(得分:0)
我遇到了同样的问题,但是对于“正确导入corda-finance-workflows”是什么,答案还不是很清楚。是。
我的deployNode配置看起来像这样,但似乎不起作用:
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
delete "./build/nodes"
directory "./build/nodes"
signing {
enabled false
}
nodeDefaults {
cordapp("$corda_release_distribution:corda-finance-contracts:$corda_release_version")
cordapp("$corda_release_distribution:corda-finance-workflows:$corda_release_version")
}
...