mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-01 14:03:54 +00:00
37 lines
592 B
Groovy
37 lines
592 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
}
|
|
|
|
|
|
kotlin {
|
|
jvm()
|
|
// js(LEGACY) {
|
|
js(IR) {
|
|
browser()
|
|
binaries.executable()
|
|
}
|
|
linuxX64()
|
|
mingwX64()
|
|
linuxArm64()
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib')
|
|
|
|
api "dev.inmo:tgbotapi:$telegram_bot_api_version"
|
|
}
|
|
}
|
|
}
|
|
}
|