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

51 lines
1.2 KiB
Groovy
Raw Normal View History

buildscript {
ext {
springBootVersion = '1.3.9.BUILD-SNAPSHOT'
2015-08-22 14:41:11 +08:00
springLoadedVersion = '1.2.4.RELEASE'
}
2014-02-19 13:57:47 +08:00
repositories {
// NOTE: You should declare only repositories that you need here
2014-02-19 13:57:47 +08:00
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/release" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
2014-02-19 13:57:47 +08:00
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.springframework:springloaded:${springLoadedVersion}")
2014-02-19 13:57:47 +08:00
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
springBoot {
classifier = 'exec'
}
jar {
baseName = 'spring-boot-sample-web-ui'
version = '0.0.0'
}
repositories {
// NOTE: You should declare only repositories that you need here
mavenLocal()
2014-02-19 13:57:47 +08:00
mavenCentral()
maven { url "https://repo.spring.io/release" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/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' }