Move props to artifactoryPublish
This commit is contained in:
@@ -54,20 +54,15 @@ publishing {
|
||||
}
|
||||
}
|
||||
|
||||
artifactory {
|
||||
publish {
|
||||
defaults {
|
||||
def zipArtifactProps =
|
||||
['zip.name': 'spring-integration-aws',
|
||||
'zip.displayname': 'Spring Integration Aws',
|
||||
'zip.deployed': 'false']
|
||||
properties {
|
||||
mavenJava zipArtifactProps, '*:*:*:*@zip'
|
||||
mavenJava 'zip.type': 'docs', '*:*:*:docs@zip'
|
||||
mavenJava 'zip.type': 'dist', '*:*:*:dist@zip'
|
||||
}
|
||||
|
||||
publications(publishing.publications.mavenJava)
|
||||
}
|
||||
artifactoryPublish {
|
||||
publications(publishing.publications.mavenJava)
|
||||
def zipArtifactProps =
|
||||
['zip.name': 'spring-integration-aws',
|
||||
'zip.displayname': 'Spring Integration Aws',
|
||||
'zip.deployed': 'false']
|
||||
properties {
|
||||
mavenJava zipArtifactProps, '*:*:*:*@zip'
|
||||
mavenJava 'zip.type': 'docs', '*:*:*:docs@zip'
|
||||
mavenJava 'zip.type': 'dist', '*:*:*:dist@zip'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user