fix: change jvm("desktop") to jvm() and desktopMain to jvmMain to fix Gradle type-safe accessor issue
This commit is contained in:
parent
45abb011db
commit
03c8a8a59f
@ -10,7 +10,7 @@ plugins {
|
||||
|
||||
kotlin {
|
||||
// Only desktop (macOS) for now
|
||||
jvm("desktop")
|
||||
jvm()
|
||||
// TODO: add back when Android SDK / Xcode is available
|
||||
// androidTarget()
|
||||
// listOf(iosX64(), iosArm64(), iosSimulatorArm64()).forEach { iosTarget ->
|
||||
@ -38,14 +38,10 @@ kotlin {
|
||||
implementation(libs.coil.compose)
|
||||
implementation(libs.coil.network)
|
||||
}
|
||||
desktopMain.dependencies {
|
||||
jvmMain.dependencies {
|
||||
implementation(compose.desktop.currentOs)
|
||||
implementation(libs.ktor.client.okhttp)
|
||||
}
|
||||
// TODO: add back when iOS target is enabled
|
||||
// iosMain.dependencies {
|
||||
// implementation(libs.ktor.client.darwin)
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user