From 8374af5ad1f383c2d0181080c75d21db56279337 Mon Sep 17 00:00:00 2001 From: Riley Park Date: Sun, 1 Jan 2023 19:13:25 -0800 Subject: [PATCH] fix bad url --- .../kotlin/com/velocitypowered/script/VelocityPublishPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/com/velocitypowered/script/VelocityPublishPlugin.kt b/buildSrc/src/main/kotlin/com/velocitypowered/script/VelocityPublishPlugin.kt index 5692450a4..8aa18b048 100644 --- a/buildSrc/src/main/kotlin/com/velocitypowered/script/VelocityPublishPlugin.kt +++ b/buildSrc/src/main/kotlin/com/velocitypowered/script/VelocityPublishPlugin.kt @@ -46,7 +46,7 @@ class VelocityPublishPlugin : Plugin { credentials(PasswordCredentials::class.java) name = "paper" - val base = "https://papermc.io/repo/repository/maven-" + val base = "https://papermc.io/repo/repository/maven" val releasesRepoUrl = "$base-releases/" val snapshotsRepoUrl = "$base-snapshots/" setUrl(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)