mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-10 02:13:54 +00:00
39 lines
636 B
Groovy
39 lines
636 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
}
|
|
|
|
apply plugin: 'application'
|
|
|
|
mainClassName="InlineQueriesBotKt"
|
|
|
|
apply from: "$nativePartTemplate"
|
|
|
|
kotlin {
|
|
jvm()
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib')
|
|
|
|
api "dev.inmo:tgbotapi:$telegram_bot_api_version"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'io.ktor:ktor-client-logging-jvm:2.3.7'
|
|
}
|
|
|