I am using Gradle 1.3 and have it working for a small project. It creates the .JAR files exactly as I want them to. However, when I have it create a ZIP file using distZip
Try this by adding below lines in build.gradle file:
distributions { main { baseName = 'ClassName' contents { exclude("**/*.jar") } } }