core/client/build.gradle

58 lines
1.7 KiB
Groovy
Raw Normal View History

2021-11-24 07:52:27 +00:00
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
id "com.android.library"
2022-01-22 14:19:50 +00:00
alias(libs.plugins.compose)
2021-11-24 07:52:27 +00:00
}
apply from: "$mppProjectWithSerializationPresetPath"
kotlin {
js(IR) {
binaries.executable()
2022-03-13 15:58:10 +00:00
compileKotlinJs {
kotlinOptions {
freeCompilerArgs += "-Xir-property-lazy-initialization"
}
}
2021-11-24 07:52:27 +00: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 14:25:05 +00:00
api project(":postssystem.features.content.client")
2021-11-24 14:32:21 +00:00
api project(":postssystem.features.content.text.client")
api project(":postssystem.features.content.binary.client")
2022-01-22 07:30:49 +00:00
api project(":postssystem.services.posts.client")
2022-03-02 08:36:17 +00:00
api libs.microutils.fsm.common
api libs.microutils.fsm.repos.common
api libs.microutils.crypto
2022-01-22 14:19:50 +00:00
implementation compose.runtime
2021-11-24 07:52:27 +00:00
}
}
jvmMain {
dependencies {
api "io.ktor:ktor-client-apache:$ktor_version"
}
}
jsMain {
dependencies {
2022-01-22 14:19:50 +00:00
implementation compose.web.core
implementation libs.jsuikit
2021-11-24 07:52:27 +00:00
}
}
}
}