2020-08-20 17:14:22 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2022-04-29 14:57:16 +00:00
|
|
|
mavenCentral()
|
2020-08-20 17:14:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
2022-05-17 12:58:43 +00:00
|
|
|
id "org.jetbrains.kotlin.multiplatform"
|
2020-08-20 17:14:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm()
|
2020-11-21 14:22:11 +00:00
|
|
|
// js(LEGACY) {
|
|
|
|
js(IR) {
|
2020-08-20 17:14:22 +00:00
|
|
|
browser()
|
|
|
|
binaries.executable()
|
|
|
|
}
|
2023-04-19 14:20:11 +00:00
|
|
|
linuxX64()
|
|
|
|
mingwX64()
|
2023-10-20 18:50:03 +00:00
|
|
|
linuxArm64()
|
2020-08-20 17:14:22 +00:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
|
2020-10-04 13:11:48 +00:00
|
|
|
api "dev.inmo:tgbotapi:$telegram_bot_api_version"
|
2020-08-20 17:14:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|