mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2024-11-22 16:23:53 +00:00
36 lines
583 B
Groovy
36 lines
583 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath libs.kotlin.gradle.plugin
|
|
classpath libs.kotlin.serialization.plugin
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias libs.plugins.kotlin.jvm
|
|
alias libs.plugins.kotlin.serialization
|
|
id 'application'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.kotlin
|
|
|
|
implementation libs.tgbotapi
|
|
}
|
|
|
|
application {
|
|
mainClassName = 'telegram_bot.AppKt'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|