fixing(client)
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
plugins {
|
||||
alias(libs.plugins.compose.multiplatform)
|
||||
alias(libs.plugins.compose.compiler)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
alias(libs.plugins.kotlin.multiplatform)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
id("org.jetbrains.compose")
|
||||
id("org.jetbrains.kotlin.plugin.compose")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvm("desktop")
|
||||
js(IR) {
|
||||
browser()
|
||||
}
|
||||
jvm()
|
||||
js(IR) { browser() }
|
||||
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
// Compose UI
|
||||
api(compose.runtime)
|
||||
api(compose.foundation)
|
||||
api(compose.material3)
|
||||
api(compose.materialIconsExtended)
|
||||
// Compose Multiplatform
|
||||
implementation(compose.runtime)
|
||||
implementation(compose.foundation)
|
||||
implementation(compose.material3)
|
||||
|
||||
// Serialization
|
||||
implementation(libs.kotlinx.serialization.json)
|
||||
|
||||
// Ktor Client for API calls
|
||||
implementation(libs.ktor.client.core)
|
||||
@@ -29,7 +29,7 @@ kotlin {
|
||||
implementation(libs.kotlinx.coroutines.core)
|
||||
}
|
||||
}
|
||||
val desktopMain by getting {
|
||||
val jvmMain by getting {
|
||||
dependencies {
|
||||
// Ktor engine for Desktop
|
||||
implementation(libs.ktor.client.cio)
|
||||
|
||||
Reference in New Issue
Block a user