-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
37 lines (30 loc) · 1.18 KB
/
build.gradle.kts
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
plugins {
`java`
`java-library`
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
//val springBootVersion = "3.1.5"
val springBootVersion = "3.2.0"
dependencies {
compileOnly("org.jetbrains:annotations:24.1.0")
implementation("jakarta.validation:jakarta.validation-api:3.0.2")
implementation("org.springframework.boot:spring-boot-autoconfigure:$springBootVersion")
implementation("org.springframework.boot:spring-boot-starter:$springBootVersion")
annotationProcessor("org.springframework.boot:spring-boot-autoconfigure-processor:$springBootVersion")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:$springBootVersion")
testImplementation("org.springframework.boot:spring-boot-starter-test:$springBootVersion")
testImplementation("org.springframework.boot:spring-boot-configuration-processor:$springBootVersion")
testImplementation("org.springframework.boot:spring-boot-starter-validation:$springBootVersion")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
}
repositories {
mavenLocal()
mavenCentral()
}
tasks.named<Test>("test") {
useJUnitPlatform()
}