Include Javassist (bytecode manipulation)

Will be used to optimize the server jar
This commit is contained in:
Jesse Boyd 2017-02-16 20:32:16 +11:00
parent e3a56fcc50
commit 2637cbc9cd
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
10 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,7 @@ subprojects {
repositories { repositories {
mavenCentral() mavenCentral()
maven { url = "https://mvnrepository.com/artifact/"}
maven {url "http://ci.emc.gs/nexus/content/groups/aikar/" } maven {url "http://ci.emc.gs/nexus/content/groups/aikar/" }
maven {url "http://ci.regularbox.com/plugin/repository/everything/"} maven {url "http://ci.regularbox.com/plugin/repository/everything/"}
maven {url "http://empcraft.com/maven2"} maven {url "http://empcraft.com/maven2"}

View File

@ -37,6 +37,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
shadowJar { shadowJar {
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
} }

View File

@ -7,6 +7,7 @@ dependencies {
compile 'com.plotsquared:PlotSquared:3.4.1-SNAPSHOT' compile 'com.plotsquared:PlotSquared:3.4.1-SNAPSHOT'
compile 'org.primesoft:BlocksHub:2.0' compile 'org.primesoft:BlocksHub:2.0'
compile 'com.github.luben:zstd-jni:1.1.1' compile 'com.github.luben:zstd-jni:1.1.1'
compile 'org.javassist:javassist:3.22.0-CR1'
compile 'co.aikar:fastutil-lite:1.0' compile 'co.aikar:fastutil-lite:1.0'
compile(group: 'com.sk89q.worldedit', name: 'worldedit-core', version:'6.1.3-SNAPSHOT') { compile(group: 'com.sk89q.worldedit', name: 'worldedit-core', version:'6.1.3-SNAPSHOT') {
exclude(module: 'bukkit-classloader-check') exclude(module: 'bukkit-classloader-check')

View File

@ -58,6 +58,7 @@ shadowJar {
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
include(dependency('org.yaml:snakeyaml:1.16')) include(dependency('org.yaml:snakeyaml:1.16'))

View File

@ -58,6 +58,7 @@ shadowJar {
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
include(dependency('org.yaml:snakeyaml:1.16')) include(dependency('org.yaml:snakeyaml:1.16'))

View File

@ -49,6 +49,7 @@ shadowJar {
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
include(dependency('org.yaml:snakeyaml:1.16')) include(dependency('org.yaml:snakeyaml:1.16'))

View File

@ -58,6 +58,7 @@ shadowJar {
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
include(dependency('org.yaml:snakeyaml:1.16')) include(dependency('org.yaml:snakeyaml:1.16'))

View File

@ -57,6 +57,7 @@ shadowJar {
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
include(dependency('org.yaml:snakeyaml:1.16')) include(dependency('org.yaml:snakeyaml:1.16'))

View File

@ -23,6 +23,7 @@ jar.enabled = false
shadowJar { shadowJar {
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(name: 'worldedit-core-6.1.4-SNAPSHOT-dist')) include(dependency(name: 'worldedit-core-6.1.4-SNAPSHOT-dist'))
include(dependency('com.google.code.gson:gson:2.2.4')) include(dependency('com.google.code.gson:gson:2.2.4'))

View File

@ -72,6 +72,7 @@ shadowJar {
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
dependencies { dependencies {
include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('com.github.luben:zstd-jni:1.1.1'))
include(dependency('org.javassist:javassist:3.22.0-CR1'))
include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency('co.aikar:fastutil-lite:1.0'))
include(dependency(':core')) include(dependency(':core'))
include(dependency('org.yaml:snakeyaml:1.16')) include(dependency('org.yaml:snakeyaml:1.16'))