Fixing version from commandline
This commit is contained in:
parent
fabb77b0f0
commit
99f2f82c15
2 changed files with 3 additions and 3 deletions
|
|
@ -8,8 +8,8 @@ publishing {
|
|||
repositories {
|
||||
maven {
|
||||
def snapshotsRepoUrl = 'http://oss.sonatype.org/content/repositories/snapshots/'
|
||||
def releasesRepoUrl = 'http://oss.sonatype.org/service/local/staging/deploy/maven2/'
|
||||
url = project.hasProperty('release') ? releasesRepoUrl : snapshotsRepoUrl
|
||||
def releaseRepoUrl = 'http://oss.sonatype.org/service/local/staging/deploy/maven2/'
|
||||
url = project.hasProperty('release') ? releaseRepoUrl : snapshotsRepoUrl
|
||||
|
||||
if (project.hasProperty('mavenCentralUsername') && project.hasProperty('mavenCentralPassword')) {
|
||||
credentials {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue