From fa9077a3ada17c14e9061b217799248adb8b3836 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Thu, 19 May 2022 20:55:26 +0800 Subject: [PATCH] upgrade: simple-ypk-packer 0.5.0 --- backend/build.gradle | 9 ++++----- backend/buildlibs/simple-ypk-packer-0.3.0.jar | Bin 6445 -> 0 bytes build.gradle | 4 +--- 3 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 backend/buildlibs/simple-ypk-packer-0.3.0.jar diff --git a/backend/build.gradle b/backend/build.gradle index bd7bf50..98f4241 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -4,7 +4,7 @@ buildscript { mavenLocal() } dependencies { - classpath "org.bdware.bdcontract:simple-ypk-packer:0.3.0" + classpath "org.bdware.bdcontract:simple-ypk-packer:0.5.0" classpath "org.bdware.bdcontract:ypk-deploy-tool:0.4.0" } } @@ -40,8 +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 fileTree(dir: 'cplibs', include: '*.jar') - implementation fileTree(dir: 'cplibs/lib/', include: '*.jar') + implementation 'org.bdware.sc:cp:1.5.3' testImplementation 'junit:junit:4.13.2' } @@ -74,10 +73,10 @@ task copyJar(type: Copy, dependsOn: [":backend:jar", ":backend:copyLibs"]) { } def reltivePath = "./backend" //reltivePath="." -def currVersion = "1.1.0" +def currVersion = "1.2.0" task grepCP (dependsOn:["copyJar"]){ doLast { - org.bdware.datanet.YPKPacker.grepCPLibWithFilter("${reltivePath}/cplibs/libs","${reltivePath}/build/output/libs","${reltivePath}/grepcp.list") + org.bdware.datanet.YPKPacker.grepJarByCPVersion("${reltivePath}/build/output/libs",org.bdware.datanet.CPVersion.cp_1_5_3) } } diff --git a/backend/buildlibs/simple-ypk-packer-0.3.0.jar b/backend/buildlibs/simple-ypk-packer-0.3.0.jar deleted file mode 100644 index ea9fb086814c55d106f12f1833fb0dc6d572b94f..0000000000000000000000000000000000000000 GIT binary pat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f*Vv!-HIM>MBL0=FWde9W}Z4aWlLo#!L}`Y;79j@HNK^<3=B8 z69wBZB(<9lNNDQ%XQAH4X2+0~cFhops+bTi(CT)kLeYa7!acqMA(JjKzYMWQ2AFu-8<3KzxWfo}Ogu+XA>lykC3~Yzf<#L`6UqJZ5kW}P2R)};W0l9xl$5r>9A-%_lX<Z?@swH@DO%|@4tUHpnrw^YCzu? z-$$-57RiA@uz2O4@Iu;#orVB#jXC8?N=}E4>qm4gZP{6{FgKLE90;B z&L51LsQ=9P+r0dh@7J082Or?>{Qhx=|DM3VGX8p#|6s%;{F{3XmPNVSI06FZ-6#L< KU*bq~|Lb34Lq$FS diff --git a/build.gradle b/build.gradle index 4b9ae9a..07534d3 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,6 @@ plugins { id 'java' id 'idea' } -def currVersion = "1.1.0" -ext.projectIds = ['group': 'org.bdware.sc.contractexample', 'version': currVersion] tasks.withType(JavaCompile) { options.compilerArgs << '-Xlint:none' @@ -15,8 +13,8 @@ repositories { } project(':backend') { group = "org.bdware.sc.example" - version = projectIds.version repositories { + mavenCentral() maven { url 'https://maven.aliyun.com/repository/public' } } }