fix bad url

This commit is contained in:
Riley Park 2023-01-01 19:13:25 -08:00
parent 1bfeac58b6
commit 8374af5ad1

View File

@ -46,7 +46,7 @@ class VelocityPublishPlugin : Plugin<Project> {
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)