chore(ui): move to official material3, and remove jvm target
JetBrains Compose lags behind a bit, currently the new expressive lists are only available in official This also makes it easier to develop for now; moving to desktop later on should be trivial
This commit is contained in:
parent
40d07707cf
commit
41f2b9782a
2 changed files with 11 additions and 7 deletions
|
|
@ -18,7 +18,7 @@ kotlin {
|
|||
}
|
||||
}
|
||||
|
||||
jvm()
|
||||
// jvm()
|
||||
|
||||
sourceSets {
|
||||
androidMain.dependencies {
|
||||
|
|
@ -32,7 +32,7 @@ kotlin {
|
|||
implementation(project(":core"))
|
||||
implementation(libs.compose.runtime)
|
||||
implementation(libs.compose.foundation)
|
||||
implementation(libs.compose.material3)
|
||||
implementation(libs.compose.material3.google)
|
||||
implementation(libs.compose.ui)
|
||||
implementation(libs.compose.components.resources)
|
||||
implementation(libs.compose.uiToolingPreview)
|
||||
|
|
@ -51,10 +51,10 @@ kotlin {
|
|||
commonTest.dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
}
|
||||
jvmMain.dependencies {
|
||||
implementation(compose.desktop.currentOs)
|
||||
implementation(libs.kotlinx.coroutinesSwing)
|
||||
}
|
||||
// jvmMain.dependencies {
|
||||
// implementation(compose.desktop.currentOs)
|
||||
// implementation(libs.kotlinx.coroutinesSwing)
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -104,5 +104,7 @@ compose.desktop {
|
|||
}
|
||||
|
||||
compose.resources {
|
||||
publicResClass = true
|
||||
packageOfResClass = "moe.lava.neon.resources"
|
||||
generateResClass = always
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue