chore(build): update JVM target to 25, enforce stable kotlinx-serialization-json, and add bundle size budget checks
- Updated Kotlin compiler and JVM toolchain to target JVM 25 in all subprojects. - Enforced stable `kotlinx-serialization-json:1.7.3` version to prevent resolution issues. - Introduced JS bundle size budget checks for frontend shells with gzip support and reporting. - Refined and reorganized Gradle module includes in `settings.gradle.kts`. - Removed legacy and redundant dependency configurations for improved clarity.
This commit is contained in:
@@ -7,7 +7,6 @@ plugins {
|
||||
alias(libs.plugins.kotlinSpring)
|
||||
alias(libs.plugins.kotlinJpa)
|
||||
alias(libs.plugins.spring.boot)
|
||||
alias(libs.plugins.spring.dependencyManagement)
|
||||
}
|
||||
|
||||
// Konfiguriert die Hauptklasse für das ausführbare JAR
|
||||
@@ -16,6 +15,7 @@ springBoot {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Wiederherstellung des Standardzustands: Das Gateway verwendet das reparierte lokale BOM.
|
||||
implementation(platform(projects.platform.platformBom))
|
||||
|
||||
// === Core Dependencies ===
|
||||
@@ -24,20 +24,16 @@ 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)
|
||||
// Die WebFlux-Abhängigkeit wird jetzt korrekt durch das BOM bereitgestellt.
|
||||
// implementation(libs.spring.boot.starter.webflux)
|
||||
|
||||
// Kern-Gateway inkl. Security, Actuator, CircuitBreaker, Discovery
|
||||
implementation(libs.bundles.gateway.core)
|
||||
// Ergänzende Observability (Logging, Jackson)
|
||||
implementation(libs.bundles.gateway.observability)
|
||||
// Redis-Unterstützung für verteiltes Rate Limiting (RequestRateLimiter)
|
||||
// Umgestellt auf das spezifische Gateway-Redis-Bundle (einfach, leicht zu konfigurieren)
|
||||
implementation(libs.bundles.gateway.redis)
|
||||
|
||||
// Hinweis: Der Gateway benötigt keinen Datenbanktreiber → entfernt
|
||||
|
||||
// === Test Dependencies ===
|
||||
testImplementation(projects.platform.platformTesting)
|
||||
testImplementation(libs.bundles.testing.jvm)
|
||||
|
||||
Reference in New Issue
Block a user