I have a Gradle build that runs in Jenkins and Deploys to Artifactory using the Artifactory plugin for Jenkins. I am uploading a tar.gz
file to Artifactory. The plugin is uploading the tar.gz
correctly, but it is also uploading a jar
.
How can I exclude the jar
so that it is not deployed to Artifactory?
build.gradle (artifacts section)
artifacts {
archives tar
}