43 lines
1013 B
Kotlin
43 lines
1013 B
Kotlin
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:4.0.5")
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
java
|
|
}
|
|
|
|
apply(plugin = "org.springframework.boot")
|
|
|
|
group = "at.dslan"
|
|
version = "0.1.0"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator:4.0.5")
|
|
implementation("org.springframework.boot:spring-boot-starter-json:4.0.5")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation:4.0.5")
|
|
implementation("org.springframework.boot:spring-boot-starter-web:4.0.5")
|
|
implementation("org.springframework.boot:spring-boot-starter-websocket:4.0.5")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test:4.0.5")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|