spring-boot/spring-boot-samples/spring-boot-sample-web-ui/build.gradle

41 lines
936 B
Groovy
Raw Normal View History

buildscript {
ext {
springBootVersion = '1.0.0.BUILD-SNAPSHOT'
springLoadedVersion = '1.1.5.RELEASE'
}
2014-02-19 13:57:47 +08:00
repositories {
mavenLocal()
maven { url "http://repo.spring.io/libs-snapshot" }
2014-02-19 13:57:47 +08:00
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.springsource.loaded:springloaded:${springLoadedVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
mainClassName = "sample.ui.SampleWebUiApplication"
jar {
baseName = 'spring-boot-sample-web-ui'
version = '0.0.0'
}
repositories {
2014-02-19 13:57:47 +08:00
mavenCentral()
maven { url "http://repo.spring.io/libs-snapshot" }
}
dependencies {
2014-02-19 13:57:47 +08:00
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.hibernate:hibernate-validator")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
2014-02-19 13:57:47 +08:00
task wrapper(type: Wrapper) { gradleVersion = '1.6' }