Sample project showing how to use gradle to publish jars in Artifactory. You can also check my blog post for full details: http://igorpopov.io/2014/04/27/artifactory-gradle-and-publishing