-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
35 lines (28 loc) · 901 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version = '1.0'
buildscript {
ext.versions = [
springBootVersion: "1.2.1.RELEASE"
]
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${versions.springBootVersion}")
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'spring-boot'
sourceCompatibility = 1.7
repositories {
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:${versions.springBootVersion}") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty:${versions.springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-actuator:${versions.springBootVersion}")
testCompile group: 'junit', name: 'junit', version: '4.11'
}
}