Minimalistic Gradle build.gradle file for Groovy projects
apply plugin: 'groovy' repositories { jcenter() } dependencies { compile 'org.codehaus.groovy:groovy-all:2.3.+' }
and for Spring Boot
buildscript { repositories { jcenter() } dependencies { classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.0.2.RELEASE' } } apply plugin: 'groovy' apply plugin: 'spring-boot' repositories { jcenter() } dependencies { compile 'org.codehaus.groovy:groovy-all:2.3.+' // e.g. compile("org.springframework.boot:spring-boot-starter-web") }