Setup multiplatform settings with KMP and theme

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta 2026-03-20 19:18:51 +08:00
parent 677c99c34a
commit c0469371a3
7 changed files with 48 additions and 6 deletions

View file

@ -15,6 +15,9 @@ kotlin {
jvmToolchain(21)
compilerOptions {
freeCompilerArgs.addAll(
"-Xexpect-actual-classes"
)
optIn.addAll(
"androidx.compose.material3.ExperimentalMaterial3Api",
"androidx.compose.material3.ExperimentalMaterial3ExpressiveApi",
@ -80,6 +83,8 @@ kotlin {
implementation(libs.koin.compose.viewmodel)
implementation(libs.koin.annotations)
implementation(libs.russhwolf.settings)
}
}
commonTest.dependencies {
@ -89,6 +94,7 @@ kotlin {
androidMain.dependencies {
implementation(libs.jetbrains.compose.preview)
implementation(libs.androidx.activity)
implementation(libs.androidx.preference)
}
val androidDeviceTest by getting {
dependencies {