Add and improve domain (WIP)

This commit is contained in:
2024-06-11 11:04:02 +02:00
parent 1b9c8633c9
commit f891dea885
11 changed files with 232 additions and 29 deletions

View File

@@ -14,12 +14,13 @@ kotlin {
}
}
}
jvm("desktop")
sourceSets {
val desktopMain by getting
val desktopTest by getting
androidMain.dependencies {
implementation(libs.compose.ui.tooling.preview)
implementation(libs.androidx.activity.compose)
@@ -27,7 +28,7 @@ kotlin {
commonMain.dependencies {
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material)
implementation(compose.material3)
implementation(compose.ui)
implementation(compose.components.resources)
implementation(compose.components.uiToolingPreview)
@@ -35,7 +36,19 @@ kotlin {
desktopMain.dependencies {
implementation(compose.desktop.currentOs)
}
commonTest.dependencies {
// implementation(libs.junit)
implementation(kotlin("test"))
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(compose.uiTest)
}
desktopTest.dependencies {
implementation(compose.desktop.uiTestJUnit4)
implementation(compose.desktop.currentOs)
}
}
}
android {