Skip to content

Commit

Permalink
Bring back artifactory config
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 2, 2023
1 parent 121077f commit 68f0a99
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
id 'checkstyle'
id 'org.ajoberstar.grgit' version '4.1.1'
id 'io.spring.dependency-management' version '1.1.3'
// id 'com.jfrog.artifactory' version '5.1.10'
}

description = 'Spring Integration AWS Support'
Expand Down
25 changes: 16 additions & 9 deletions publish-maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,22 @@ 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'
}
}
}
}

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 68f0a99

Please sign in to comment.