Use artifactory plugin directly

This commit is contained in:
Artem Bilan
2019-11-20 20:51:16 -05:00
parent 2f1c1ed4ed
commit e8b96a5786
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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)
}