apply plugin: 'groovy' apply plugin: 'idea' buildDir = "target" repositories { mavenCentral() mavenRepo urls: "file://" + System.getProperty('user.home') + "/.m2/repository/" } dependencies { compile gradleApi() compile localGroovy() compile 'org.apache.ant:ant:1.7.0' compile 'org.apache.maven:maven-ant-tasks:2.1.0' compile 'org.apache.maven.wagon:wagon-http:1.0-beta-6' groovy localGroovy() } ideaModule { }