forked from spring-guides/gs-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (29 loc) · 781 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
plugins {
id 'org.springframework.boot' version '3.2.3'
id 'io.spring.dependency-management' version '1.1.4'
id 'java'
id "org.jetbrains.kotlin.jvm" version "1.9.22"
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
}
dependencies {
// tag::actuator[]
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// end::actuator[]
implementation 'org.springframework.boot:spring-boot-starter-web'
// tag::tests[]
testImplementation('org.springframework.boot:spring-boot-starter-test')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
// end::tests[]
}
ext["spring-framework.version"] = "6.1.5-SNAPSHOT"
test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}