diff --git a/README.md b/README.md
index 3913a8dae0..c656cf87d4 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ How To (Plugin Developers)
```xml
papermc
- https://papermc.io/repo/repository/maven-public/
+ https://repo.papermc.io/repository/maven-public/
```
* Artifact Information:
@@ -49,7 +49,7 @@ How To (Plugin Developers)
```kotlin
repositories {
maven {
- url = uri("https://papermc.io/repo/repository/maven-public/")
+ url = uri("https://repo.papermc.io/repository/maven-public/")
}
}
diff --git a/build.gradle.kts b/build.gradle.kts
index 2939815b8c..59a0a1abd6 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -19,7 +19,7 @@ allprojects {
}
}
-val paperMavenPublicUrl = "https://papermc.io/repo/repository/maven-public/"
+val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
subprojects {
tasks.withType {
@@ -123,7 +123,7 @@ publishing {
allprojects {
publishing {
repositories {
- maven("https://papermc.io/repo/repository/maven-snapshots/") {
+ maven("https://repo.papermc.io/repository/maven-snapshots/") {
name = "paperSnapshots"
credentials(PasswordCredentials::class)
}
diff --git a/patches/server/Implement-Paper-VersionChecker.patch b/patches/server/Implement-Paper-VersionChecker.patch
index 11dad2353e..66870a8eef 100644
--- a/patches/server/Implement-Paper-VersionChecker.patch
+++ b/patches/server/Implement-Paper-VersionChecker.patch
@@ -92,7 +92,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ if (siteApiVersion == null) { return -1; }
+ try {
+ try (BufferedReader reader = Resources.asCharSource(
-+ new URL("https://papermc.io/api/v2/projects/paper/versions/" + siteApiVersion),
++ new URL("https://api.papermc.io/v2/projects/paper/versions/" + siteApiVersion),
+ Charsets.UTF_8
+ ).openBufferedStream()) {
+ JsonObject json = new Gson().fromJson(reader, JsonObject.class);
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 5b2243583d..18cf95a321 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -3,7 +3,7 @@ import java.util.Locale
pluginManagement {
repositories {
gradlePluginPortal()
- maven("https://papermc.io/repo/repository/maven-public/")
+ maven("https://repo.papermc.io/repository/maven-public/")
}
}