chore: setze group und version in Core-Domain-Build, füge wasmJsMain Dependency hinzu
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
# 📓 Journal-Eintrag: Core-Domain Blueprint Migration
|
||||||
|
|
||||||
|
## 🏗️ [Lead Architect] | 👷 [Backend Developer] | 🧹 [Curator]
|
||||||
|
**Datum:** 2026-04-19
|
||||||
|
**Status:** ✅ Abgeschlossen
|
||||||
|
|
||||||
|
### 🎯 Ziel
|
||||||
|
Migration des `frontend/core/domain` Moduls auf den neuen **Module Structure Blueprint** (Klasse B: `UI_COMPONENT`, da Plattform-spezifische `PlatformType` Implementierungen vorhanden sind).
|
||||||
|
|
||||||
|
### 🛠️ Durchgeführte Änderungen
|
||||||
|
|
||||||
|
1. **Gradle Konfiguration (`build.gradle.kts`):**
|
||||||
|
* `group` auf `at.mocode.frontend.core` gesetzt (Konsistenz mit `auth` & `design-system`).
|
||||||
|
* `version` auf `1.0.0` gesetzt.
|
||||||
|
* `wasmJsMain` Source-Set explizit mit `kotlin.stdlib.wasm.js` Dependency konfiguriert, um die KMP-Web-Infrastruktur zu vervollständigen.
|
||||||
|
|
||||||
|
2. **Strukturelle Analyse:**
|
||||||
|
* Die Paketstruktur `at.mocode.frontend.core.domain` war bereits vorbildlich und konsistent über alle Source-Sets (`commonMain`, `jvmMain`, `wasmJsMain`) hinweg.
|
||||||
|
* `PlatformType` nutzt das `expect/actual` Pattern korrekt.
|
||||||
|
|
||||||
|
3. **Verifizierung:**
|
||||||
|
* `./gradlew :frontend:core:domain:assemble` wurde erfolgreich ausgeführt.
|
||||||
|
|
||||||
|
### 🚩 Nächste Schritte
|
||||||
|
* Migration der weiteren Core-Module (`network`, `sync`, `localDb`).
|
||||||
|
* Anpassung der Feature-Module (Batch 1: Source-Set Topologie).
|
||||||
|
|
||||||
|
---
|
||||||
|
*Dokumentiert durch den Curator.*
|
||||||
@@ -7,6 +7,9 @@ plugins {
|
|||||||
alias(libs.plugins.kotlinSerialization)
|
alias(libs.plugins.kotlinSerialization)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
group = "at.mocode.frontend.core"
|
||||||
|
version = "1.0.0"
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvm()
|
jvm()
|
||||||
|
|
||||||
@@ -22,11 +25,15 @@ kotlin {
|
|||||||
sourceSets {
|
sourceSets {
|
||||||
commonMain.dependencies {
|
commonMain.dependencies {
|
||||||
implementation(libs.kotlinx.serialization.json)
|
implementation(libs.kotlinx.serialization.json)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jvmTest.dependencies {
|
jvmTest.dependencies {
|
||||||
implementation(libs.kotlin.test)
|
implementation(libs.kotlin.test)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wasmJsMain.dependencies {
|
||||||
|
implementation(libs.kotlin.stdlib.wasm.js)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user