2020-11-12 05:52:09 +00:00
|
|
|
plugins {
|
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
|
|
|
id 'application'
|
2023-10-01 09:28:00 +00:00
|
|
|
id "com.google.devtools.ksp"
|
2020-11-12 05:52:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
project.group="$group"
|
|
|
|
project.version="$version"
|
|
|
|
|
2020-11-12 05:58:08 +00:00
|
|
|
apply from: "publish.gradle"
|
|
|
|
|
2020-11-12 05:52:09 +00:00
|
|
|
dependencies {
|
2022-05-13 07:04:49 +00:00
|
|
|
implementation libs.kt.stdlib
|
|
|
|
api libs.kt.coroutines
|
|
|
|
api libs.kt.serialization
|
|
|
|
api libs.jb.exposed.jdbc
|
2020-11-12 05:52:09 +00:00
|
|
|
|
2022-05-13 07:04:49 +00:00
|
|
|
api libs.tgbotapi
|
2022-08-13 14:09:21 +00:00
|
|
|
api libs.tgbotapi.behaviourBuilder.fsm
|
2022-05-13 07:04:49 +00:00
|
|
|
api libs.microutils.repos.exposed
|
2023-10-01 09:55:33 +00:00
|
|
|
api libs.microutils.koin
|
2020-11-12 05:52:09 +00:00
|
|
|
|
2022-05-13 07:04:49 +00:00
|
|
|
api libs.sqlite
|
2020-11-12 05:52:09 +00:00
|
|
|
|
2022-05-13 07:04:49 +00:00
|
|
|
testImplementation libs.kt.test.junit
|
2021-02-22 13:08:49 +00:00
|
|
|
|
2020-11-12 06:50:51 +00:00
|
|
|
api project(":plagubot.plugin")
|
2020-11-12 05:52:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClassName = 'dev.inmo.plagubot.AppKt'
|
|
|
|
}
|
|
|
|
|
2021-11-12 11:38:18 +00:00
|
|
|
java {
|
2023-11-05 14:52:30 +00:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2021-11-12 11:38:18 +00:00
|
|
|
}
|
|
|
|
|
2023-10-01 09:28:00 +00:00
|
|
|
ksp { // this generator do not require any arguments and we should left `ksp` empty
|
|
|
|
}
|
|
|
|
|