Skip to content

Commit

Permalink
Add artifactory plugin to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoyanchev committed Aug 8, 2022
1 parent 28f9511 commit ed81b44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ buildscript {

plugins {
id 'io.spring.dependency-management' version '1.0.9.RELEASE' apply false
id 'com.jfrog.artifactory' version '4.28.4' apply false
id 'org.asciidoctor.jvm.pdf' version '3.3.2'
id 'org.asciidoctor.jvm.gems' version '3.3.2'
id 'org.asciidoctor.jvm.convert' version '3.3.2'
Expand Down
5 changes: 5 additions & 0 deletions publish-maven.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: "maven-publish"
apply plugin: "com.jfrog.artifactory"

publishing {
publications {
Expand Down Expand Up @@ -54,6 +55,10 @@ publishing {
}
}

artifactoryPublish {
publications(publishing.publications.mavenJava)
}

// Disable generation of Gradle Module Metadata for compatibility
// with older versions of Spring Web Flow.
tasks.withType(GenerateModuleMetadata) {
Expand Down

0 comments on commit ed81b44

Please sign in to comment.