change plugins and dependencies

- use catalog version for dependencies
- use catalog version for plugins
This commit is contained in:
2025-04-07 17:35:30 +02:00
parent bc2b4ca93f
commit 28055eb9af

View File

@@ -1,8 +1,24 @@
plugins { plugins {
kotlin("jvm") version "1.9.25" alias(hlaeja.plugins.kotlin.jvm)
kotlin("plugin.spring") version "1.9.25" alias(hlaeja.plugins.kotlin.spring)
id("org.springframework.boot") version "3.4.4" alias(hlaeja.plugins.spring.dependency.management)
id("io.spring.dependency-management") version "1.1.7" alias(hlaeja.plugins.springframework.boot)
}
dependencies {
implementation(hlaeja.fasterxml.jackson.module.kotlin)
implementation(hlaeja.kotlin.reflect)
implementation(hlaeja.kotlinx.coroutines)
implementation(hlaeja.projectreactor.kotlin.reactor.extensions)
implementation(hlaeja.springboot.starter.actuator)
implementation(hlaeja.springboot.starter.webflux)
testImplementation(hlaeja.kotlin.test.junit5)
testImplementation(hlaeja.kotlinx.coroutines.test)
testImplementation(hlaeja.projectreactor.reactor.test)
testImplementation(hlaeja.springboot.starter.test)
testRuntimeOnly(hlaeja.junit.platform.launcher)
} }
group = "ltd.hlaeja" group = "ltd.hlaeja"
@@ -13,14 +29,6 @@ java {
} }
} }
dependencies {
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.jetbrains.kotlin:kotlin-reflect")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
kotlin { kotlin {
compilerOptions { compilerOptions {
freeCompilerArgs.addAll("-Xjsr305=strict") freeCompilerArgs.addAll("-Xjsr305=strict")