fix(gradle) gradle.build

This commit is contained in:
stefan
2025-07-29 16:32:38 +02:00
parent 260460149a
commit 965aa68fa7
13 changed files with 338 additions and 420 deletions
+14 -42
View File
@@ -1,53 +1,25 @@
plugins {
kotlin("jvm")
kotlin("plugin.spring")
id("org.springframework.boot")
id("io.spring.dependency-management") version "1.1.4"
id("org.jetbrains.compose") version "1.7.3"
id("org.jetbrains.kotlin.plugin.compose") version "2.1.21"
}
repositories {
mavenCentral()
google()
alias(libs.plugins.compose.multiplatform)
alias(libs.plugins.compose.compiler)
}
dependencies {
// Greift explizit auf den "desktop" (JVM) Teil unseres KMP-Moduls zu.
implementation(projects.client.commonUi)
implementation(projects.client.webApp)
implementation(projects.infrastructure.auth.authClient)
implementation(projects.infrastructure.cache.redisCache)
implementation(projects.infrastructure.eventStore.redisEventStore)
// Domain modules
implementation(projects.core.coreDomain)
implementation(projects.core.coreUtils)
implementation(projects.events.eventsDomain)
implementation(projects.horses.horsesDomain)
implementation(projects.masterdata.masterdataDomain)
// Spring Boot dependencies
implementation("org.springframework.boot:spring-boot-starter")
// Redis dependencies
implementation("org.redisson:redisson:3.27.2")
implementation("io.lettuce:lettuce-core:6.3.2.RELEASE")
// Kotlinx dependencies
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
implementation("com.benasher44:uuid:0.8.4")
// Compose dependencies
// Stellt die Desktop-spezifischen Teile von Jetpack Compose bereit.
implementation(compose.desktop.currentOs)
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material3)
implementation(compose.ui)
implementation(compose.components.resources)
implementation(compose.materialIconsExtended)
// Stellt die Coroutine-Integration für die Swing-UI-Bibliothek bereit.
implementation(libs.kotlinx.coroutines.swing)
// --- Testing ---
testImplementation(projects.platform.platformTesting)
}
compose.desktop {
application {
mainClass = "at.mocode.client.desktop.MainKt"
}
}