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")
|
2021-11-28 08:06:39 +00:00
|
|
|
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.crypto
|
2022-01-22 14:19:50 +00:00
|
|
|
|
|
|
|
implementation compose.runtime
|
2021-11-24 07:52:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
2022-04-01 16:31:59 +00:00
|
|
|
api libs.ktor.client.apache
|
2021-11-24 07:52:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|