-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
33 lines (27 loc) · 929 Bytes
/
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
plugins {
id("org.springframework.boot") version "3.3.1"
id("io.spring.dependency-management") version "1.1.5"
java
}
repositories {
mavenCentral() // popular Maven artifacts
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-jersey") // REST-ful Web service
implementation("io.swagger.core.v3:swagger-jaxrs2-jakarta:2.2.22") // OpenAPI design
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
// test dependencies
testImplementation(platform("org.junit:junit-bom:5.10.3"))
testImplementation("org.junit.jupiter:junit-jupiter-api") // test API
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.springframework.boot:spring-boot-starter-test")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(22))
}
}
tasks.test {
useJUnitPlatform()
}