mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2024-11-21 15:53:53 +00:00
38 lines
690 B
Groovy
38 lines
690 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()
|
|
maven { url "https://git.inmo.dev/api/packages/InsanusMokrassar/maven" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.kotlin
|
|
|
|
implementation libs.tgbotapi
|
|
implementation libs.ktor.client.okhttp
|
|
}
|
|
|
|
application {
|
|
mainClassName = 'AppKt'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|