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