apply plugin: 'groovy' apply plugin: 'idea' buildDir = "target" repositories { mavenCentral() mavenLocal() mavenRepo name: "jboss", urls: "http://repository.jboss.org/nexus/content/groups/public/" } dependencies { // common compile gradleApi() compile localGroovy() compile 'org.apache.ant:ant:1.7.0' compile 'org.apache.maven:maven-ant-tasks:2.1.0' // needed? compile 'org.apache.maven.wagon:wagon-http:1.0-beta-6' // injection plugin compile 'javassist:javassist:3.12.0.GA' groovy localGroovy() } ideaModule { }