core/client/build.gradle

55 lines
1.6 KiB
Groovy
Raw Normal View History

2021-11-24 13:52:27 +06:00
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
id "com.android.library"
2022-01-22 20:19:50 +06:00
alias(libs.plugins.compose)
2021-11-24 13:52:27 +06:00
}
apply from: "$mppProjectWithSerializationPresetPath"
kotlin {
js(IR) {
binaries.executable()
2022-03-13 21:58:10 +06:00
compileKotlinJs {
kotlinOptions {
freeCompilerArgs += "-Xir-property-lazy-initialization"
}
}
2021-11-24 13:52:27 +06:00
}
sourceSets {
commonMain {
dependencies {
api project(":postssystem.features.common.client")
api project(":postssystem.features.status.client")
api project(":postssystem.features.files.client")
api project(":postssystem.features.users.client")
api project(":postssystem.features.auth.client")
api project(":postssystem.features.roles.client")
api project(":postssystem.features.roles.manager.client")
2021-11-24 20:25:05 +06:00
api project(":postssystem.features.content.client")
2021-11-24 20:32:21 +06:00
api project(":postssystem.features.content.text.client")
api project(":postssystem.features.content.binary.client")
2022-01-22 13:30:49 +06:00
api project(":postssystem.services.posts.client")
2022-03-02 14:36:17 +06:00
api libs.microutils.crypto
2022-01-22 20:19:50 +06:00
implementation compose.runtime
2021-11-24 13:52:27 +06:00
}
}
jvmMain {
dependencies {
2022-04-01 22:31:59 +06:00
api libs.ktor.client.apache
2021-11-24 13:52:27 +06:00
}
}
jsMain {
dependencies {
2022-01-22 20:19:50 +06:00
implementation compose.web.core
implementation libs.jsuikit
2021-11-24 13:52:27 +06:00
}
}
}
}