Added release URL output to console
This commit is contained in:
parent
178bea2e18
commit
e1091b1afb
10
build.gradle
10
build.gradle
|
@ -542,6 +542,16 @@ signing {
|
|||
sign publishing.publications.SystemTray
|
||||
}
|
||||
|
||||
// output the release URL in the console
|
||||
releaseRepository.doLast {
|
||||
def URL = 'https://oss.sonatype.org/content/repositories/releases/'
|
||||
def projectName = project.group.toString().replaceAll('\\.', '/')
|
||||
def name = project.ext.name
|
||||
def version = project.version
|
||||
|
||||
println("Maven URL: ${URL}${projectName}/${name}/${version}/")
|
||||
}
|
||||
|
||||
// we don't use maven with the plugin (it's uploaded separately to gradle plugins)
|
||||
tasks.withType(PublishToMavenRepository) {
|
||||
onlyIf {
|
||||
|
|
Loading…
Reference in New Issue
Block a user