1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 02:49:06 +00:00

chore: fix syntax

This commit is contained in:
Arnaud Roques 2023-05-12 20:32:38 +02:00
parent 37f8e4fd2e
commit e313ffc635
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ publishing {
// val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
// val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
// url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD")

View File

@ -150,7 +150,7 @@ publishing {
// val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
// val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
// url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD")