Skip to content

Commit

Permalink
add log for version to published
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed Sep 4, 2024
1 parent 4ce904b commit 8d30d9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buildSrc/src/main/kotlin/stove-publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ publishing {
val releasesRepoUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
val snapshotsRepoUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = if (rootProject.version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
// url = rootProject.buildDir.resolve("publications").toURI()

println("version to be published: ${rootProject.version}")
credentials {
username = getProperty("nexus_username", "nexus_username")
password = getProperty("nexus_password", "nexus_password")
Expand Down

0 comments on commit 8d30d9f

Please sign in to comment.