diff --git a/buildSrc/src/main/kotlin/stove-publishing.gradle.kts b/buildSrc/src/main/kotlin/stove-publishing.gradle.kts index 4429f1c6..3e77d2fa 100644 --- a/buildSrc/src/main/kotlin/stove-publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/stove-publishing.gradle.kts @@ -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")