refactor: add bdledger dependencies

feat: IRPUtil
feat: support debug in docker
This commit is contained in:
CaiHQ 2022-05-20 22:50:13 +08:00
parent f746ccb7dc
commit f292deae14
2 changed files with 7 additions and 5 deletions

View File

@ -9,7 +9,7 @@ plugins {
shadowJar {
classifier = "jar"
dependencies {
include(dependency(fileTree(dir: 'lib', include: '*.jar')) )
include(dependency(fileTree(dir: 'lib', include: '*.jar')))
// exclude(dependency('com.google.code.gson:gson:2.8.6'))
// relocate 'com.google.code.gson', 'irs.com.google.code.gson'
}
@ -35,9 +35,9 @@ sourceSets {
sourceCompatibility = 1.8
dependencies {
api 'org.bdware.bdcontract:gmhelper:0.1.0'
api 'org.bdware.bdcontract:gmhelper:0.2.0'
api 'berkeleydb:je:3.2.76'
// api 'com.fifesoft:rsyntaxtextarea:3.1.3'
// api 'com.fifesoft:rsyntaxtextarea:3.1.3'
api 'commons-io:commons-io:2.11.0'
api 'io.netty:netty-all:4.1.72.Final'
api 'org.antlr:antlr4:4.9.2'
@ -47,11 +47,12 @@ dependencies {
//api 'org.apache.velocity:velocity-engine-core:2.3'
api 'org.rocksdb:rocksdbjni:6.22.1'
api fileTree(dir: 'lib', include: '*.jar')
// api fileTree(dir: 'lib', include: '*.jar')
testImplementation 'junit:junit:4.13.2'
}
group = "org.bdware.sc"
version = "1.5.6"
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
task copyLibs(type: Copy) {

View File

@ -16,6 +16,7 @@ public enum Permission {
Ledger,
CM,
DOIP,
IRP,
Async;
public static Permission parse(String str) {