From e8b96a57864683e2c71e03ef10a512bb41151974 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 20 Nov 2019 20:51:16 -0500 Subject: [PATCH] Use `artifactory` plugin directly --- build.gradle | 5 +++-- publish-maven.gradle | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index e2810c0..2fc61c4 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,7 @@ plugins { id 'checkstyle' id 'org.ajoberstar.grgit' version '3.1.1' id "io.spring.dependency-management" version '1.0.8.RELEASE' + id 'com.jfrog.artifactory' version '4.9.8' apply false } description = 'Spring Integration AWS Support' @@ -327,8 +328,8 @@ task depsZip(type: Zip, dependsOn: distZip) { zipTask -> } artifacts { - archives sourcesJar - archives javadocJar +// archives sourcesJar +// archives javadocJar archives distZip archives docsZip archives schemaZip diff --git a/publish-maven.gradle b/publish-maven.gradle index 87770b1..caa1f96 100644 --- a/publish-maven.gradle +++ b/publish-maven.gradle @@ -1,4 +1,5 @@ apply plugin: 'maven-publish' +apply plugin: 'com.jfrog.artifactory' publishing { publications { @@ -50,3 +51,7 @@ publishing { } } } + +artifactoryPublish { + publications(publishing.publications.mavenJava) +}