We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16d45bf + 81deb1f commit 88dfefbCopy full SHA for 88dfefb
1 file changed
build-logic/src/main/kotlin/velocity-publish.gradle.kts
@@ -8,7 +8,7 @@ extensions.configure<PublishingExtension> {
8
maven {
9
credentials(PasswordCredentials::class.java)
10
11
- name = "paper"
+ name = if (version.toString().endsWith("SNAPSHOT")) "paperSnapshots" else "paper" // "paper" is seemingly not defined
12
val base = "https://repo.papermc.io/repository/maven"
13
val releasesRepoUrl = "$base-releases/"
14
val snapshotsRepoUrl = "$base-snapshots/"
0 commit comments