Fixing version from commandline

This commit is contained in:
Ziver Koc 2024-09-17 23:20:02 +02:00
parent 99f2f82c15
commit 9ed13e1888
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ publishing {
maven {
def snapshotsRepoUrl = 'http://oss.sonatype.org/content/repositories/snapshots/'
def releaseRepoUrl = 'http://oss.sonatype.org/service/local/staging/deploy/maven2/'
url = project.hasProperty('release') ? releaseRepoUrl : snapshotsRepoUrl
url = project.hasProperty('doRelease') ? releaseRepoUrl : snapshotsRepoUrl
if (project.hasProperty('mavenCentralUsername') && project.hasProperty('mavenCentralPassword')) {
credentials {