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.
1 parent e99c396 commit c6d0dd0Copy full SHA for c6d0dd0
bukkit-extension/build.gradle.kts
@@ -88,7 +88,7 @@ publishing {
88
maven {
89
val releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
90
val snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
91
- url = if (version.toString().endsWith("SNAPSHOT")) uri(snapshotsRepoUrl) else uri(releasesRepoUrl)
+ url = if (version.toString().contains("SNAPSHOT")) uri(snapshotsRepoUrl) else uri(releasesRepoUrl)
92
credentials {
93
username = System.getenv("OSSRH_USERNAME")
94
password = System.getenv("OSSRH_PASSWORD")
0 commit comments