mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-08-13 12:59:50 +00:00
37 lines
623 B
Groovy
37 lines
623 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
}
|
|
|
|
kotlin {
|
|
jvm {
|
|
binaries {
|
|
executable {
|
|
mainClass.set("RandomFileSenderBotKt")
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib')
|
|
|
|
api "dev.inmo:tgbotapi:$telegram_bot_api_version"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
apply from: "$nativePartTemplate"
|
|
|