- Unified plugin application across modules using `alias(libs.plugins.*)` instead of hardcoded IDs. - Removed redundant JVM/JS source map tasks, improving Gradle and Docker build consistency. - Updated dependencies, including `logback` and Webpack `copy-webpack-plugin`, and added contextual documentation. - Added frontend architecture diagram in PlantUML (`docs/01_Architecture/Reference`), standardizing feature-core-shell dependencies.
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
// Dieses Modul stellt eine konkrete Implementierung der `cache-api`
|
|
// unter Verwendung von Redis als Caching-Backend bereit.
|
|
plugins {
|
|
alias(libs.plugins.kotlinJvm)
|
|
alias(libs.plugins.kotlinSpring)
|
|
// Als Bibliothek benötigt dieses Modul das Spring Boot Plugin nicht.
|
|
alias(libs.plugins.spring.dependencyManagement)
|
|
}
|
|
|
|
// Stellt sicher, dass ein normales JAR gebaut wird (Bibliotheks-Modul).
|
|
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(25))
|
|
}
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
dependencies {
|
|
// Stellt sicher, dass alle Versionen aus der zentralen BOM kommen.
|
|
api(platform(projects.platform.platformBom))
|
|
// Implementiert die provider-agnostische Caching-API.
|
|
implementation(projects.backend.infrastructure.cache.cacheApi)
|
|
// OPTIMIERUNG: Verwendung des `redis-cache`-Bundles aus libs.versions.toml.
|
|
// Dieses Bundle enthält Spring Data Redis, Lettuce und Jackson-Module.
|
|
implementation(libs.bundles.redis.cache)
|
|
// Stellt alle Test-Abhängigkeiten gebündelt bereit.
|
|
testImplementation(projects.platform.platformTesting)
|
|
testImplementation(libs.bundles.testing.jvm)
|
|
testImplementation(libs.kotlin.test)
|
|
testImplementation(libs.kotlin.logging.jvm)
|
|
testImplementation(libs.logback.classic)
|
|
testImplementation(libs.logback.core)
|
|
}
|