mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-11-27 06:30:35 +08:00
fix bad url
This commit is contained in:
parent
1bfeac58b6
commit
8374af5ad1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user