2013-07-30 15:04:44 +08:00
|
|
|
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 {
|
2013-07-31 07:20:36 +08:00
|
|
|
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT")
|
2013-07-30 15:04:44 +08:00
|
|
|
testCompile("junit:junit:4.11")
|
|
|
|
}
|
|
|
|
|
|
|
|
task wrapper(type: Wrapper) {
|
|
|
|
gradleVersion = '1.6'
|
|
|
|
}
|
|
|
|
|