Hi guys,
I tried using gradle with the Mavendeployer to upload my tar file to the jfrog artifactory and its working fine but i would like to remove the upload of the pom file.
Is that even possible?
My Upload Script:
uploadArchives {
repositories {
mavenDeployer {
artifacts {
project.configurations.archives.artifacts.clear()
archives tgzTask
}
// Target repository
if (project.version.endsWith('-SNAPSHOT')) {
repository(url: "xxx") {
authentication(userName: artifactoryUsername, password: artifactoryPassword)
}
} else {
repository(url: "xxx") {
authentication(userName: artifactoryUsername, password: artifactoryPassword)
}
}
}
}
}