-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (33 loc) · 1.11 KB
/
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
35
36
37
38
39
40
41
plugins {
id "java"
id "org.springframework.boot" version "${springBootVersion}"
id "io.spring.dependency-management" version "${springDependencyVersion}"
id "com.github.ben-manes.versions" version "${gradleVersionsPluginVersion}"
}
group 'org.person'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
configurations {
// exclude Reactor Netty
compile.exclude module: 'spring-boot-starter-tomcat'
}
dependencies {
implementation "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
implementation("org.springframework.boot:spring-boot-starter-web") {
exclude group:"org.springframework.boot", module:"spring-boot-starter-tomcat"
}
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
implementation "org.springframework.boot:spring-boot-starter-undertow"
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group:"org.hamcrest", module:"hamcrest-core"
}
testImplementation "org.hamcrest:hamcrest-library"
}
test {
useJUnitPlatform()
}
bootJar {
mainClassName = 'person.App'
}