1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-29 21:48:43 +00:00
tgbotapi/tgbotapi.core/build.gradle

58 lines
1.6 KiB
Groovy
Raw Normal View History

2020-08-20 05:55:39 +00:00
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
}
2022-03-22 10:26:18 +00:00
project.description = "Core part of tgbotapi with all (and only) required functionality for working with Telegram Bot API"
2020-08-20 05:55:39 +00:00
apply from: "$mppProjectWithSerializationPresetPath"
apply from: "$publishGradlePath"
2020-08-20 05:55:39 +00:00
kotlin {
sourceSets {
commonMain {
dependencies {
api libs.kotlin.coroutines
api libs.kotlin.serialization
api libs.kotlin.serialization.properties
api libs.korlibs.klock
api libs.korlibs.krypto
api libs.uuid
api libs.microutils.coroutines
api libs.microutils.serialization.base64
api libs.microutils.serialization.encapsulator
api libs.microutils.serialization.typedSerializer
api libs.microutils.ktor.common
api libs.microutils.languageCodes
api libs.ktor.client.core
2020-08-20 05:55:39 +00:00
}
}
commonTest {
dependencies {
2022-04-18 08:30:38 +00:00
implementation project(":tgbotapi.utils")
2020-08-20 05:55:39 +00:00
}
}
jvmMain {
dependencies {
api libs.ktor.server
api libs.ktor.server.host.common
2020-08-20 05:55:39 +00:00
api libs.ktor.client.cio
2020-08-20 05:55:39 +00:00
api libs.javax.activation
2020-08-20 05:55:39 +00:00
}
}
}
2021-09-23 07:15:44 +00:00
// targets.all {
// compilations.all {
// kotlinOptions {
// freeCompilerArgs += ["-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi", "-Xopt-in=kotlin.RequiresOptIn"]
// }
// }
// }
2021-09-23 07:15:44 +00:00
}