From 59cb238095e146a77fca8b95229f3a1f8c4ec4c8 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Fri, 20 May 2022 09:23:29 +0800 Subject: [PATCH] upgrade: sc:cp 1.5.4 --- backend/build.gradle | 14 +++++++------- backend/yjs/manifest.json | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/build.gradle b/backend/build.gradle index 98f4241..6c50447 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -1,11 +1,11 @@ buildscript { - repositories{ + repositories { mavenCentral() mavenLocal() } dependencies { classpath "org.bdware.bdcontract:simple-ypk-packer:0.5.0" - classpath "org.bdware.bdcontract:ypk-deploy-tool:0.4.0" + classpath "org.bdware.bdcontract:ypk-deploy-tool:0.5.0" } } plugins { @@ -40,7 +40,7 @@ sourceSets { dependencies { api 'org.apache.logging.log4j:log4j-core:2.17.2' api 'org.apache.logging.log4j:log4j-api:2.17.2' - implementation 'org.bdware.sc:cp:1.5.3' + implementation 'org.bdware.sc:cp:1.5.4' testImplementation 'junit:junit:4.13.2' } @@ -74,13 +74,13 @@ task copyJar(type: Copy, dependsOn: [":backend:jar", ":backend:copyLibs"]) { def reltivePath = "./backend" //reltivePath="." def currVersion = "1.2.0" -task grepCP (dependsOn:["copyJar"]){ +task grepCP(dependsOn: ["copyJar"]) { doLast { - org.bdware.datanet.YPKPacker.grepJarByCPVersion("${reltivePath}/build/output/libs",org.bdware.datanet.CPVersion.cp_1_5_3) + org.bdware.datanet.YPKPacker.grepJarByCPVersion("${reltivePath}/build/output/libs", org.bdware.datanet.CPVersion.cp_1_5_3) } } -task buildZip(type: Zip, dependsOn: ["copyAssets", "copyJar", "copyYJS","grepCP"]) { +task buildZip(type: Zip, dependsOn: ["copyAssets", "copyJar", "copyYJS", "grepCP"]) { from './build/output/' duplicatesStrategy = DuplicatesStrategy.INCLUDE archiveFileName = 'contractexample.zip' @@ -92,7 +92,7 @@ task buildYPK(dependsOn: ["buildZip"]) { org.bdware.datanet.YPKPacker.staticPack("${reltivePath}/build/contractexample.zip", "${reltivePath}/build/contractexample-${currVersion}.ypk") } } -task deploy(dependsOn: ["buildYPK"]){ +task deploy(dependsOn: ["buildYPK"]) { doLast { org.bdware.ypkdeploy.HTTPTool.batchRun("./backend/deployconfig.json", true) } diff --git a/backend/yjs/manifest.json b/backend/yjs/manifest.json index b42373a..b52b5a8 100644 --- a/backend/yjs/manifest.json +++ b/backend/yjs/manifest.json @@ -1,9 +1,9 @@ { "main": "main.yjs", - "memory": "kill,init", + "memory": "kill", "doi": "Contract_1172400934", "insnLimit": 0, "buildTime": 1635385270646, "builder": "ContractEngine", - "startAtUnpack": true + "startAtUnpack": false } \ No newline at end of file