2020-11-08 12:54:22 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2021-11-12 07:05:40 +00:00
|
|
|
mavenCentral()
|
2020-11-08 12:54:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
|
|
|
|
implementation "dev.inmo:tgbotapi:$tgbotapi_version"
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClassName = 'telegram_bot.AppKt'
|
|
|
|
}
|
2021-11-21 14:51:56 +00:00
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|