2023-04-21 17:21:15 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
mainClassName="InlineQueriesBotKt"
|
|
|
|
|
2023-10-20 18:28:12 +00:00
|
|
|
apply from: "$nativePartTemplate"
|
2023-04-21 17:21:15 +00:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm()
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
|
|
|
|
api "dev.inmo:tgbotapi:$telegram_bot_api_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-12-07 12:54:06 +00:00
|
|
|
implementation 'io.ktor:ktor-client-logging-jvm:2.3.7'
|
2023-04-21 17:21:15 +00:00
|
|
|
}
|
|
|
|
|