PlaguBot/bot/build.gradle

49 lines
1.4 KiB
Groovy
Raw Permalink Normal View History

2020-11-12 05:52:09 +00:00
plugins {
id 'org.jetbrains.kotlin.jvm'
id "org.jetbrains.kotlin.plugin.serialization"
id "org.jetbrains.kotlin.kapt"
id 'application'
}
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 {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2020-11-12 06:50:51 +00:00
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlin_serialisation_runtime_version"
api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
api "org.jetbrains.exposed:exposed-jdbc:$kotlin_exposed_version"
2020-11-12 05:52:09 +00:00
2020-11-12 06:50:51 +00:00
api "dev.inmo:tgbotapi:$tgbotapi_version"
2021-02-16 19:21:41 +00:00
api "dev.inmo:sdi:$sdi_version"
2020-11-12 06:50:51 +00:00
api "dev.inmo:micro_utils.repos.exposed:$microutils_version"
2020-11-12 05:52:09 +00:00
2020-11-12 06:50:51 +00:00
api "com.github.matfax.klassindex:library:$klassindex_version"
2020-11-12 05:52:09 +00:00
kapt "com.github.matfax.klassindex:processor:$klassindex_version"
2020-11-12 06:50:51 +00:00
api "org.xerial:sqlite-jdbc:$sqlite_version"
2020-11-12 05:52:09 +00:00
2021-02-22 13:08:49 +00:00
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
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'
}
kapt {
arguments {
arg("com.github.matfax.klassindex.IndexSubclasses", "dev.inmo.plagubot.Plugin")
2021-02-16 19:21:41 +00:00
arg("com.github.matfax.klassindex.IndexAnnotated", "dev.inmo.sdi.SDIIncluded")
2020-11-12 05:52:09 +00:00
}
}
2021-11-12 11:38:18 +00:00
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}