chore: improved build.gradle.kts dependency version naming
This commit is contained in:
parent
6cc91f0cfe
commit
fab645d945
1 changed files with 12 additions and 11 deletions
|
@ -35,9 +35,10 @@ version = System.getenv("CI_COMMIT_TAG")?.let { "$it-${System.getenv("CI_COMMIT_
|
||||||
?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" }
|
?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" }
|
||||||
?: "6.5.1"
|
?: "6.5.1"
|
||||||
|
|
||||||
val kordver = "1.7.1-SNAPSHOT"
|
val kordext_ver = "1.7.1-SNAPSHOT"
|
||||||
val lavaver = "6.0.0"
|
val lavakord_ver = "6.0.0"
|
||||||
val coroutinesver = "1.7.3"
|
val coroutines_ver = "1.7.3"
|
||||||
|
val slf4j_ver = "2.0.9"
|
||||||
|
|
||||||
val mavenArtifact = "Botendo"
|
val mavenArtifact = "Botendo"
|
||||||
project.base.archivesName.set(mavenArtifact)
|
project.base.archivesName.set(mavenArtifact)
|
||||||
|
@ -86,15 +87,15 @@ implementation.extendsFrom(shadow)
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
//Discord
|
//Discord
|
||||||
shadow("com.kotlindiscord.kord.extensions:kord-extensions:$kordver")
|
shadow("com.kotlindiscord.kord.extensions:kord-extensions:$kordext_ver")
|
||||||
shadow("dev.schlaubi.lavakord:kord:$lavaver")
|
shadow("dev.schlaubi.lavakord:kord:$lavakord_ver")
|
||||||
|
|
||||||
//Util
|
//Util
|
||||||
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesver")
|
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_ver")
|
||||||
|
|
||||||
//Logging
|
//Logging
|
||||||
shadow("org.slf4j:slf4j-api:2.0.9")
|
shadow("org.slf4j:slf4j-api:$slf4j_ver")
|
||||||
shadow("org.slf4j:slf4j-simple:2.0.9")
|
shadow("org.slf4j:slf4j-simple:$slf4j_ver")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -104,9 +105,9 @@ val templateDest = project.buildDir.resolve("generated/templates")
|
||||||
val templateProps = mapOf(
|
val templateProps = mapOf(
|
||||||
"version" to project.version as String,
|
"version" to project.version as String,
|
||||||
"ownerID" to ownerID,
|
"ownerID" to ownerID,
|
||||||
"kordversion" to kordver,
|
"kordversion" to kordext_ver,
|
||||||
"lavaversion" to lavaver,
|
"lavaversion" to lavakord_ver,
|
||||||
"coroutinesversion" to coroutinesver
|
"coroutinesversion" to coroutines_ver
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue