Skip to content

Commit ed81b44

Browse files
committed
Add artifactory plugin to build script
1 parent 28f9511 commit ed81b44

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66

77
plugins {
88
id 'io.spring.dependency-management' version '1.0.9.RELEASE' apply false
9+
id 'com.jfrog.artifactory' version '4.28.4' apply false
910
id 'org.asciidoctor.jvm.pdf' version '3.3.2'
1011
id 'org.asciidoctor.jvm.gems' version '3.3.2'
1112
id 'org.asciidoctor.jvm.convert' version '3.3.2'

publish-maven.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: "maven-publish"
2+
apply plugin: "com.jfrog.artifactory"
23

34
publishing {
45
publications {
@@ -54,6 +55,10 @@ publishing {
5455
}
5556
}
5657

58+
artifactoryPublish {
59+
publications(publishing.publications.mavenJava)
60+
}
61+
5762
// Disable generation of Gradle Module Metadata for compatibility
5863
// with older versions of Spring Web Flow.
5964
tasks.withType(GenerateModuleMetadata) {

0 commit comments

Comments
 (0)