update ypk-packer

This commit is contained in:
CaiHQ
2022-11-24 21:17:13 +08:00
parent 2d5b0f7586
commit 1b60a1b64a
3 changed files with 34 additions and 11 deletions

View File

@@ -1,11 +1,10 @@
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath "org.bdware.bdcontract:simple-ypk-packer:0.5.4"
classpath "org.bdware.bdcontract:ypk-deploy-tool:0.7.0"
classpath "org.bdware.bdcontract:simple-ypk-packer:0.5.5"
classpath "org.bdware.bdcontract:ypk-deploy-tool:0.7.1"
}
}
plugins {
@@ -40,7 +39,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.6.7'
implementation 'org.bdware.sc:cp:1.6.8'
testImplementation 'junit:junit:4.13.2'
}
@@ -73,10 +72,10 @@ task copyJar(type: Copy, dependsOn: [":backend:jar", ":backend:copyLibs"]) {
}
def reltivePath = "./backend"
//reltivePath="."
def currVersion = "1.3.1"
def currVersion = "1.3.2"
task grepCP(dependsOn: ["copyJar"]) {
doLast {
org.bdware.datanet.YPKPacker.grepJarByCPVersion("${reltivePath}/build/output/libs", org.bdware.datanet.CPVersion.cp_1_6_7)
org.bdware.datanet.YPKPacker.grepJarByCPVersion("${reltivePath}/build/output/libs", org.bdware.datanet.CPVersion.cp_1_6_8)
org.bdware.datanet.YPKPacker.grepJarByListFile("${reltivePath}/build/output/libs", "${reltivePath}/grepcp.list")
}