Skip to content

Commit

Permalink
Move props to artifactoryPublish
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 2, 2023
1 parent 1b683f2 commit 7d811db
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions publish-maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

0 comments on commit 7d811db

Please sign in to comment.