Remap changes, moved Paste to paste.willfp.com
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user