TelegramBotAPI-bot_template/build.gradle

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
}