chore(gradle): centralize repository config in settings.gradle.kts and simplify BOM management
### Summary - Removed `repositories` blocks from individual `build.gradle.kts` files, moving configuration to `settings.gradle.kts`. - Replaced custom Spring Boot constraints in the platform BOM with the Spring Boot BOM for cleaner dependency management. - Explicitly added `webflux` dependency for Gateway to handle transitivity changes in Spring Boot 4.x.
This commit is contained in:
@@ -24,6 +24,10 @@ dependencies {
|
||||
implementation(projects.backend.infrastructure.monitoring.monitoringClient)
|
||||
|
||||
// === GATEWAY-SPEZIFISCHE ABHÄNGIGKEITEN ===
|
||||
// KORREKTUR: Explizite Deklaration von WebFlux, da es in Spring Boot 4.x
|
||||
// anscheinend nicht mehr vollständig transitiv vom Gateway-Starter eingebunden wird.
|
||||
implementation(libs.spring.boot.starter.webflux)
|
||||
|
||||
// Kern-Gateway inkl. Security, Actuator, CircuitBreaker, Discovery
|
||||
implementation(libs.bundles.gateway.core)
|
||||
// Ergänzende Observability (Logging, Jackson)
|
||||
|
||||
@@ -14,8 +14,10 @@ springBoot {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Platform BOM für zentrale Versionsverwaltung
|
||||
implementation(platform(projects.platform.platformBom))
|
||||
// ULTIMATIVER TEST: Wir umgehen unser lokales BOM und importieren das offizielle Spring Boot BOM direkt.
|
||||
// Wenn dies funktioniert, liegt der Fehler im Aufbau von `:platform:platform-bom`.
|
||||
implementation(platform(libs.spring.boot.dependencies))
|
||||
// implementation(platform(projects.platform.platformBom))
|
||||
|
||||
// Platform und Core Dependencies
|
||||
implementation(projects.platform.platformDependencies)
|
||||
|
||||
@@ -5,9 +5,8 @@ plugins {
|
||||
group = "at.mocode"
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
// The 'repositories' block was removed from here.
|
||||
// Repository configuration is now centralized in 'settings.gradle.kts'.
|
||||
|
||||
dependencies {
|
||||
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
||||
|
||||
Reference in New Issue
Block a user