feat: rebuild system on kord-extensions, marking the 3rd rewirte

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-04-14 13:03:28 +02:00
parent 9d34385fb1
commit be96fae5eb
25 changed files with 683 additions and 818 deletions

View file

@ -35,7 +35,7 @@ version = System.getenv("CI_COMMIT_TAG")?.let { "$it-${System.getenv("CI_COMMIT_
?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" }
?: "DevelopmentBuild"
val kordver = "0.8.3"
val kordver = "1.5.6"
val lavaver = "3.8.0"
val coroutinesver = "1.1.0"
@ -68,12 +68,16 @@ repositories {
}
}
val shadow by configurations.getting
val implementation by configurations.getting
implementation.extendsFrom(shadow)
dependencies {
implementation("dev.kord:kord-core:$kordver")
implementation("dev.schlaubi.lavakord:kord:$lavaver")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesver")
implementation("org.slf4j:slf4j-api:2.0.3")
implementation("org.slf4j:slf4j-simple:2.0.3")
shadow("com.kotlindiscord.kord.extensions:kord-extensions:$kordver")
shadow("dev.schlaubi.lavakord:kord:$lavaver")
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesver")
shadow("org.slf4j:slf4j-api:2.0.3")
shadow("org.slf4j:slf4j-simple:2.0.3")
}
@ -117,13 +121,7 @@ tasks {
withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
dependencies {
include(dependency("dev.schlaubi.lavakord:kord:$lavaver"))
include(dependency("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesver"))
include(dependency("dev.kord:kord-core:$kordver"))
include(dependency("org.slf4j:slf4j-api:2.0.3"))
include(dependency("org.slf4j:slf4j-simple:2.0.3"))
}
configurations = listOf(shadow)
dependsOn("generateTemplates", "processResources")
}