You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-samples/spring-boot-sample-traditional/build.gradle

31 lines
743 B
Groovy

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-starter:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework:spring-webmvc:4.0.0.BUILD-SNAPSHOT")
providedRuntime("org.springframework.boot:spring-boot-starter-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'
}