2019-04-19 06:38:33 +00:00
|
|
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
|
2014-12-02 15:02:13 +00:00
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
|
2014-11-14 19:27:39 +00:00
|
|
|
dependencies {
|
|
|
|
compile 'de.schlichtherle:truezip:6.8.3'
|
|
|
|
compile 'rhino:js:1.7R2'
|
|
|
|
compile 'org.yaml:snakeyaml:1.9'
|
2017-08-16 23:07:18 +00:00
|
|
|
compile 'com.google.guava:guava:21.0'
|
2014-11-14 19:27:39 +00:00
|
|
|
compile 'com.sk89q:jchronic:0.2.4a'
|
|
|
|
compile 'com.google.code.findbugs:jsr305:1.3.9'
|
|
|
|
compile 'com.thoughtworks.paranamer:paranamer:2.6'
|
2018-08-06 09:08:15 +00:00
|
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
2014-11-14 19:27:39 +00:00
|
|
|
compile 'com.sk89q.lib:jlibnoise:1.0.0'
|
2018-12-18 09:28:55 +00:00
|
|
|
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
2019-03-14 02:51:48 +00:00
|
|
|
compile 'org.slf4j:slf4j-api:1.7.26'
|
2019-04-19 04:49:29 +00:00
|
|
|
compile 'net.kyori:text-api:2.0.0'
|
2019-04-19 13:06:00 +00:00
|
|
|
compile 'net.kyori:text-serializer-gson:2.0.0'
|
|
|
|
compile 'net.kyori:text-serializer-legacy:2.0.0'
|
2014-11-14 19:27:39 +00:00
|
|
|
//compile 'net.sf.trove4j:trove4j:3.0.3'
|
|
|
|
testCompile 'org.mockito:mockito-core:1.9.0-rc1'
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDir 'src/main/java'
|
|
|
|
srcDir 'src/legacy/java'
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir 'src/main/resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-19 06:38:33 +00:00
|
|
|
task jar(type: ShadowJar, overwrite: true) {
|
|
|
|
from sourceSets.main.output
|
|
|
|
configurations = [project.configurations.runtime]
|
|
|
|
}
|