Remap changes, moved Paste to paste.willfp.com

This commit is contained in:
Auxilor
2021-11-15 20:31:21 +00:00
parent 13b10c13b3
commit ec6ac88fea
3 changed files with 3 additions and 9 deletions

View File

@@ -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 {

View File

@@ -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(

View File

@@ -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)
}
}