mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-09 09:53:47 +00:00
6fa0ca3b89
refactored `answers`, `bot`, `chat`, and `edit` packages, and jvmMain source set
25 lines
636 B
Groovy
25 lines
636 B
Groovy
plugins {
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
|
id "org.jetbrains.dokka"
|
|
}
|
|
|
|
project.description = "API extensions with \"Telegram Bot API\"-like extensions for TelegramBot and RequestsExecutor"
|
|
|
|
apply from: "$mppProjectWithSerializationPresetPath"
|
|
apply from: "$publishGradlePath"
|
|
|
|
kotlin {
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
api project(":tgbotapi.core")
|
|
}
|
|
}
|
|
configureEach {
|
|
languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi")
|
|
}
|
|
}
|
|
explicitApi()
|
|
}
|