upgrade: simple-ypk-packer 0.5.0

This commit is contained in:
CaiHQ 2022-05-19 20:55:26 +08:00
parent e189925de7
commit fa9077a3ad
3 changed files with 5 additions and 8 deletions

View File

@ -4,7 +4,7 @@ buildscript {
mavenLocal() mavenLocal()
} }
dependencies { 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" classpath "org.bdware.bdcontract:ypk-deploy-tool:0.4.0"
} }
} }
@ -40,8 +40,7 @@ sourceSets {
dependencies { dependencies {
api 'org.apache.logging.log4j:log4j-core:2.17.2' api 'org.apache.logging.log4j:log4j-core:2.17.2'
api 'org.apache.logging.log4j:log4j-api:2.17.2' api 'org.apache.logging.log4j:log4j-api:2.17.2'
implementation fileTree(dir: 'cplibs', include: '*.jar') implementation 'org.bdware.sc:cp:1.5.3'
implementation fileTree(dir: 'cplibs/lib/', include: '*.jar')
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
} }
@ -74,10 +73,10 @@ task copyJar(type: Copy, dependsOn: [":backend:jar", ":backend:copyLibs"]) {
} }
def reltivePath = "./backend" def reltivePath = "./backend"
//reltivePath="." //reltivePath="."
def currVersion = "1.1.0" def currVersion = "1.2.0"
task grepCP (dependsOn:["copyJar"]){ task grepCP (dependsOn:["copyJar"]){
doLast { 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)
} }
} }

View File

@ -2,8 +2,6 @@ plugins {
id 'java' id 'java'
id 'idea' id 'idea'
} }
def currVersion = "1.1.0"
ext.projectIds = ['group': 'org.bdware.sc.contractexample', 'version': currVersion]
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:none' options.compilerArgs << '-Xlint:none'
@ -15,8 +13,8 @@ repositories {
} }
project(':backend') { project(':backend') {
group = "org.bdware.sc.example" group = "org.bdware.sc.example"
version = projectIds.version
repositories { repositories {
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/public' }
} }
} }