26 lines
559 B
Kotlin
26 lines
559 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.0.0"
|
|
kotlin("plugin.spring") version "1.9.22"
|
|
id("org.springframework.boot") version "3.1.0"
|
|
id("io.spring.dependency-management") version "1.1.0"
|
|
}
|
|
|
|
group = "org.example"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation(kotlin("test"))
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
} |