From cbea595fa00a94d865912fe4d91711b19545a502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Sat, 18 Apr 2020 21:14:44 +0200 Subject: [PATCH] Don't relocate json-simple. --- Core/build.gradle | 4 +++- build.gradle | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Core/build.gradle b/Core/build.gradle index dfd060146..ee6edfda2 100644 --- a/Core/build.gradle +++ b/Core/build.gradle @@ -75,7 +75,9 @@ shadowJar { include(dependency("net.kyori:text-serializer-plain:3.0.2")) } relocate('net.kyori.text', 'com.plotsquared.formatting.text') - relocate("org.json", "com.plotsquared.json") + relocate("org.json", "com.plotsquared.json") { + exclude "org/json/simple/**" + } } shadowJar.doLast { diff --git a/build.gradle b/build.gradle index f9d7186d6..ae8b34e44 100644 --- a/build.gradle +++ b/build.gradle @@ -123,7 +123,9 @@ subprojects { include(dependency("net.kyori:text-api:3.0.2")) } relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib") - relocate("org.json", "com.plotsquared.json") + relocate("org.json", "com.plotsquared.json") { + exclude "org/json/simple/**" + } // relocate('org.mcstats', 'com.plotsquared.stats') archiveFileName = "${parent.name}-${project.name}-${parent.version}.jar" destinationDirectory = file "../target"