Improvements
try to make it run on Android (finally!)
This commit is contained in:
@@ -8,7 +8,7 @@ plugins {
|
||||
kotlin {
|
||||
jvmToolchain(libs.versions.jdk.get().toInt())
|
||||
|
||||
jvm("desktop")
|
||||
jvm()
|
||||
androidTarget()
|
||||
|
||||
// @OptIn(ExperimentalWasmDsl::class)
|
||||
@@ -19,29 +19,33 @@ kotlin {
|
||||
// }
|
||||
|
||||
sourceSets {
|
||||
val androidMain by getting
|
||||
val commonTest by getting
|
||||
commonMain {
|
||||
dependencies {
|
||||
api(projects.domain)
|
||||
|
||||
commonMain.dependencies {
|
||||
api(projects.domain)
|
||||
|
||||
implementation(compose.components.resources)
|
||||
implementation(compose.runtime)
|
||||
implementation(compose.foundation)
|
||||
implementation(compose.material3)
|
||||
implementation(compose.ui)
|
||||
implementation(compose.components.uiToolingPreview)
|
||||
implementation(compose.components.resources)
|
||||
implementation(compose.runtime)
|
||||
implementation(compose.foundation)
|
||||
implementation(compose.material3)
|
||||
implementation(compose.ui)
|
||||
implementation(compose.components.uiToolingPreview)
|
||||
// implementation(libs.compose.ui.text.googlefonts)
|
||||
|
||||
implementation(libs.logging)
|
||||
}
|
||||
androidMain.dependencies {
|
||||
implementation(libs.androidx.compose.foundation)
|
||||
implementation(libs.logging)
|
||||
}
|
||||
}
|
||||
|
||||
commonTest.dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
implementation(libs.atrium)
|
||||
androidMain {
|
||||
dependencies {
|
||||
implementation(libs.androidx.compose.foundation)
|
||||
}
|
||||
}
|
||||
|
||||
commonTest {
|
||||
dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
implementation(libs.atrium)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user