Here: http://gradle.codehaus.org/Cookbook#Cookbook-BuildingaprojectwithJavaGroovyinter-dependencies