update build dependencies

update cp version
This commit is contained in:
CaiHQ 2022-09-27 16:41:09 +08:00
parent 6298943084
commit 5b7811b85b
2 changed files with 12 additions and 8 deletions

View File

@ -4,8 +4,8 @@ buildscript {
mavenLocal()
}
dependencies {
classpath "org.bdware.bdcontract:simple-ypk-packer:0.5.0"
classpath "org.bdware.bdcontract:ypk-deploy-tool:0.5.2"
classpath "org.bdware.bdcontract:simple-ypk-packer:0.5.3"
classpath "org.bdware.bdcontract:ypk-deploy-tool:0.7.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.7'
implementation 'org.bdware.sc:cp:1.6.4'
testImplementation 'junit:junit:4.13.2'
}
@ -73,12 +73,16 @@ task copyJar(type: Copy, dependsOn: [":backend:jar", ":backend:copyLibs"]) {
}
def reltivePath = "./backend"
//reltivePath="."
def currVersion = "1.3.0"
def currVersion = "1.3.1"
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_6_1)
org.bdware.datanet.YPKPacker.grepJarByListFile("${reltivePath}/build/output/libs", "${reltivePath}/grepcp.list")
}
}
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
tasks.processTestResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
task buildZip(type: Zip, dependsOn: ["copyAssets", "copyJar", "copyYJS", "grepCP"]) {
from './build/output/'

View File

@ -1,3 +1,3 @@
log4j-core-2.14.1.jar
log4j-api-2.14.1.jar
yjs.jar
common-1.5.9.jar
cp-1.6.4.jar
rocksdbjni-7.3.1.jar