mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2024-11-17 13:53:52 +00:00
34 lines
871 B
Groovy
34 lines
871 B
Groovy
|
buildscript {
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
}
|
||
|
|
||
|
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 {
|
||
|
jcenter()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
|
||
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlin_serialisation_runtime_version"
|
||
|
|
||
|
implementation "dev.inmo:tgbotapi:$tgbotapi_version"
|
||
|
}
|
||
|
|
||
|
application {
|
||
|
mainClassName = 'telegram_bot.AppKt'
|
||
|
}
|