Skip to content

Commit

Permalink
maven.gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
SebaMutuku committed Jul 5, 2022
1 parent b86d523 commit bded433
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ if (isReleaseBuild()) {
println 'PROCESSING MAVEN ' + (mavenLocalFlag ? 'LOCAL' : 'REMOTE') + ' RELEASE BUILD VERSION ' + project.VERSION_NAME + '...'
sonatypeRepositoryURL = hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
println 'SUCCESSFULLY PROCESSED MAVEN '+(mavenLocalFlag ? 'LOCAL' : 'REMOTE') +' SNAPSHOT BUILD VERSION '+project.VERSION_NAME
} else {
println 'PROCESSING MAVEN ' + (mavenLocalFlag ? 'LOCAL' : 'REMOTE') + ' SNAPSHOT BUILD VERSION ' + project.VERSION_NAME + '...'
sonatypeRepositoryURL = hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
: "https://oss.sonatype.org/content/repositories/snapshots/"
println 'SUCCESSFULLY PROCESSED MAVEN '+(mavenLocalFlag ? 'LOCAL' : 'REMOTE') +' SNAPSHOT BUILD VERSION '+project.VERSION_NAME

}

Expand Down Expand Up @@ -134,4 +132,4 @@ afterEvaluate { project ->
username getRepositoryUsername()
password getRepositoryPassword()
}
}
}

0 comments on commit bded433

Please sign in to comment.