buildscript { repositories { mavenLocal() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT") } } apply plugin: 'java' apply plugin: 'war' apply plugin: 'spring-boot' repositories { mavenCentral() maven { url "http://repo.springsource.org/libs-snapshot-local" } } dependencies { compile("org.springframework.boot:spring-boot-up:0.5.0.BUILD-SNAPSHOT") compile("org.springframework:spring-webmvc:4.0.0.BUILD-SNAPSHOT") providedRuntime("org.springframework.boot:spring-boot-up-tomcat:0.5.0.BUILD-SNAPSHOT") providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper:7.0.42") testCompile("junit:junit:4.11") } task wrapper(type: Wrapper) { gradleVersion = '1.6' }