buildscript { repositories { mavenLocal() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT") } } apply plugin: 'java' apply plugin: 'spring-boot' repositories { mavenCentral() maven { url "http://repo.springsource.org/libs-snapshot-local" } } dependencies { compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT") testCompile("junit:junit:4.11") } task wrapper(type: Wrapper) { gradleVersion = '1.6' }