From 3c1ef68ff3a278cfb0c8e88ef4f09c58548935a8 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 5 Jul 2023 18:30:13 +0200 Subject: Use Spring boot BOM instead of dependency management plugin --- sw-server/build.gradle.kts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw-server/build.gradle.kts') diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts index ef860c79..1be244f2 100644 --- a/sw-server/build.gradle.kts +++ b/sw-server/build.gradle.kts @@ -2,11 +2,9 @@ plugins { kotlin("jvm") kotlin("plugin.spring") kotlin("plugin.serialization") - id("org.springframework.boot") version "3.1.1" + alias(libs.plugins.spring.boot) } -apply(plugin = "io.spring.dependency-management") - dependencies { implementation(projects.swCommonModel) implementation(projects.swEngine) @@ -17,6 +15,7 @@ dependencies { implementation(libs.kotlinx.coroutines.reactor) // for Spring implementation(libs.kotlinx.serialization.json) + implementation(platform(libs.spring.boot.bom)) implementation("org.springframework.boot:spring-boot-starter-websocket") implementation("org.springframework.boot:spring-boot-starter-security") // required by spring security when using websockets -- cgit