2022-04-18 11:05:28 +00:00
|
|
|
plugins {
|
|
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
2023-03-04 15:18:50 +00:00
|
|
|
id "org.jetbrains.dokka"
|
2024-12-08 04:26:53 +00:00
|
|
|
id "com.google.devtools.ksp"
|
2022-04-18 11:05:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
project.description = "Web App bindings for the Telegram Web Apps API"
|
|
|
|
|
2024-08-29 18:51:03 +00:00
|
|
|
apply from: "$mppProjectWithSerialization"
|
|
|
|
apply from: "$mpp_publish"
|
2022-04-18 11:05:28 +00:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api project(":tgbotapi.core")
|
2024-12-08 04:26:53 +00:00
|
|
|
api libs.microutils.ksp.sealed
|
2022-04-18 11:05:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-12-08 04:26:53 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
add("kspJs", libs.microutils.ksp.sealed.generator)
|
|
|
|
}
|
|
|
|
|
|
|
|
ksp {}
|
|
|
|
|