build.gradle 578 字节
Newer Older
J
Jay Bryant 已提交
1
plugins {
J
Jay Bryant 已提交
2 3
	id 'org.springframework.boot' version '2.4.2'
	id 'io.spring.dependency-management' version '1.0.11.RELEASE'
J
Jay Bryant 已提交
4
	id 'java'
G
Greg Turnquist 已提交
5 6
}

J
Jay Bryant 已提交
7 8
group = 'com.example'
version = '0.0.1-SNAPSHOT'
J
Jay Bryant 已提交
9
sourceCompatibility = '11'
G
Greg Turnquist 已提交
10 11

repositories {
J
Jay Bryant 已提交
12
	mavenCentral()
G
Greg Turnquist 已提交
13 14 15
}

dependencies {
J
Jay Bryant 已提交
16 17 18
	// tag::actuator[]
	implementation 'org.springframework.boot:spring-boot-starter-actuator'
	// end::actuator[]
J
Jay Bryant 已提交
19
	implementation 'org.springframework.boot:spring-boot-starter-web'
J
Jay Bryant 已提交
20
	// tag::tests[]
J
Jay Bryant 已提交
21
	testImplementation('org.springframework.boot:spring-boot-starter-test')
J
Jay Bryant 已提交
22
	// end::tests[]
G
Greg Turnquist 已提交
23 24
}

J
Jay Bryant 已提交
25 26 27
test {
	useJUnitPlatform()
}