[CI] refactor ArtifactoryPlugin
* Move artifact props back to defaults {}
This commit is contained in:
@@ -47,6 +47,9 @@ class ArtifactoryPlugin implements Plugin<Project> {
|
||||
publish {
|
||||
defaults {
|
||||
publications('mavenJava')
|
||||
properties {
|
||||
mavenJava '*:*:*:docs@zip', 'zip.name': 'spring-pulsar', 'zip.displayname': 'Spring Pulsar', 'zip.type': 'docs', 'zip.deployed': false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,9 +182,6 @@ publishing {
|
||||
|
||||
artifactoryPublish {
|
||||
publications(publishing.publications.mavenJava)
|
||||
properties {
|
||||
mavenJava '*:*:*:docs@zip', 'zip.name': 'spring-pulsar', 'zip.displayname': 'Spring Pulsar', 'zip.type': 'docs', 'zip.deployed': false
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('deployDocs') {
|
||||
|
||||
Reference in New Issue
Block a user