3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-25 15:50:19 +01:00
Dieser Commit ist enthalten in:
Riley Park 2023-01-01 19:13:25 -08:00
Ursprung 1bfeac58b6
Commit 8374af5ad1

Datei anzeigen

@ -46,7 +46,7 @@ class VelocityPublishPlugin : Plugin<Project> {
credentials(PasswordCredentials::class.java) credentials(PasswordCredentials::class.java)
name = "paper" name = "paper"
val base = "https://papermc.io/repo/repository/maven-" val base = "https://papermc.io/repo/repository/maven"
val releasesRepoUrl = "$base-releases/" val releasesRepoUrl = "$base-releases/"
val snapshotsRepoUrl = "$base-snapshots/" val snapshotsRepoUrl = "$base-snapshots/"
setUrl(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) setUrl(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)