diff --git a/build.gradle b/build.gradle index 76a2af18..5805f71c 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ dependencies { implementation project(":eco-core:core-proxy") implementation project(":eco-core:core-backend") implementation project(":eco-core:core-nms:v1_16_R3") - implementation project(path: ":eco-core:core-nms:v1_17_R1", configuration: "mapped") + implementation project(path: ":eco-core:core-nms:v1_17_R1", configuration: "reobf") } allprojects { diff --git a/eco-api/src/main/java/com/willfp/eco/core/web/Paste.java b/eco-api/src/main/java/com/willfp/eco/core/web/Paste.java index 350dfd06..0d852c7d 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/web/Paste.java +++ b/eco-api/src/main/java/com/willfp/eco/core/web/Paste.java @@ -46,7 +46,7 @@ public class Paste { byte[] postData = contents.getBytes(StandardCharsets.UTF_8); int postDataLength = postData.length; - String requestURL = "https://hastebin.com/documents"; + String requestURL = "https://paste.willfp.com/documents"; URL url = new URL(requestURL); HttpsURLConnection conn = (HttpsURLConnection) url.openConnection(); conn.setDoOutput(true); @@ -86,7 +86,7 @@ public class Paste { public static Paste getFromHastebin(@NotNull final String token) { try { StringBuilder result = new StringBuilder(); - URL url = new URL("https://hastebin.com/raw/" + token); + URL url = new URL("https://paste.willfp.com/raw/" + token); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET"); try (var reader = new BufferedReader( diff --git a/eco-core/core-nms/v1_17_R1/build.gradle.kts b/eco-core/core-nms/v1_17_R1/build.gradle.kts index a0072fcf..175cafcc 100644 --- a/eco-core/core-nms/v1_17_R1/build.gradle.kts +++ b/eco-core/core-nms/v1_17_R1/build.gradle.kts @@ -11,14 +11,8 @@ dependencies { compileOnly("net.kyori:adventure-text-serializer-gson:4.8.1") } -configurations.create("mapped") - tasks { build { dependsOn(reobfJar) } - - artifacts { - this.add("mapped", reobfJar) - } } \ No newline at end of file