2021-09-24 05:08:25 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'java-library'
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDirs 'src/main/base', 'src/main/analysis', 'src/main/asm', 'src/main/crypto', 'src/main/entry', 'src/main/gen', 'src/main/pythongen', 'src/main/DOIP', 'src/main/config'
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir 'src/main/resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
test {
|
|
|
|
java {
|
|
|
|
srcDir 'src/test/java'
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir 'src/test/resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-26 04:58:28 +00:00
|
|
|
sourceCompatibility = 1.8
|
2021-09-24 05:08:25 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api project(":gmhelper")
|
|
|
|
|
|
|
|
api 'berkeleydb:je:3.2.76'
|
|
|
|
api 'com.fifesoft:rsyntaxtextarea:3.1.3'
|
|
|
|
api 'commons-io:commons-io:2.11.0'
|
2021-11-01 14:24:51 +00:00
|
|
|
api 'io.grpc:grpc-all:1.41.0'
|
2021-09-24 05:08:25 +00:00
|
|
|
api 'io.netty:netty-all:4.1.52.Final'
|
|
|
|
api 'io.prometheus:simpleclient:0.12.0'
|
|
|
|
api 'org.antlr:antlr4:4.9.2'
|
|
|
|
api 'org.apache.commons:commons-lang3:3.12.0'
|
|
|
|
api 'org.apache.httpcomponents:httpclient:4.5.13'
|
|
|
|
api 'org.apache.logging.log4j:log4j-core:2.14.1'
|
|
|
|
api 'org.apache.logging.log4j:log4j-api:2.14.1'
|
|
|
|
api 'org.apache.velocity:velocity-engine-core:2.3'
|
|
|
|
api 'org.knowhowlab.osgi:sigar:1.6.5_01'
|
|
|
|
api 'org.rocksdb:rocksdbjni:6.22.1'
|
|
|
|
|
|
|
|
api fileTree(dir: 'lib', include: '*.jar')
|
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
|
|
|
|
|
|
|
task copyLibs(type: Copy) {
|
|
|
|
from configurations.runtimeClasspath
|
|
|
|
into "./build/output/libs/"
|
|
|
|
}
|
|
|
|
|
|
|
|
task copyJar(type: Copy) {
|
|
|
|
from "./build/libs/$project.name-${version}.jar"
|
|
|
|
into "./build/output/"
|
|
|
|
rename { String fileName -> "yjs.jar" }
|
|
|
|
}
|