2022-09-06 18:24:01 +00:00
|
|
|
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()
|
2022-09-06 18:52:45 +00:00
|
|
|
maven { url "https://jitpack.io" }
|
2022-09-06 18:24:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin
|
|
|
|
|
|
|
|
implementation libs.tgbotapi
|
2022-09-06 18:52:45 +00:00
|
|
|
implementation libs.microutils.repos.exposed
|
|
|
|
implementation libs.microutils.repos.cache
|
|
|
|
implementation libs.kslog
|
|
|
|
implementation libs.exposed
|
|
|
|
implementation libs.psql
|
|
|
|
implementation libs.imageboard
|
2022-09-06 18:24:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClassName = 'telegram_bot.AppKt'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|