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