mirror of
https://gitee.com/BDWare/contract-java-example.git
synced 2025-01-10 09:54:08 +00:00
upgrade: ypktool 0.5.0
This commit is contained in:
parent
59cb238095
commit
f372e358a1
@ -94,6 +94,6 @@ task buildYPK(dependsOn: ["buildZip"]) {
|
||||
}
|
||||
task deploy(dependsOn: ["buildYPK"]) {
|
||||
doLast {
|
||||
org.bdware.ypkdeploy.HTTPTool.batchRun("./backend/deployconfig.json", true)
|
||||
org.bdware.ypkdeploy.HTTPTool.deployWithYpk("./backend/deployconfig.json", "${reltivePath}/build/contractexample-${currVersion}.ypk")
|
||||
}
|
||||
}
|
@ -1,10 +1,9 @@
|
||||
{
|
||||
"host": "ip",
|
||||
"agentAddress": "ip:port",
|
||||
"privateKey": "e85ce2f4d8...",
|
||||
"publicKey": "04da01345770b7e09d4774bf6cd67bf90b32eaa09f517c79b2d1f9b8a926",
|
||||
"ypkPath": "./backend/build/contractexample-1.1.0.ypk",
|
||||
"ypkPath": "./backend/build/contractexample-1.2.0.ypk",
|
||||
"killBeforeStart": "ContractID/ContractName",
|
||||
"createParam": {
|
||||
},
|
||||
"agentPort": 21030
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user