refactor: changed to version catalogue and upgraded dependencies

This commit is contained in:
siujamo
2025-04-24 11:43:41 +08:00
parent e216ca8757
commit 5503dc572b
14 changed files with 121 additions and 152 deletions
+6 -11
View File
@@ -52,19 +52,14 @@ tasks.withType<Jar> {
}
dependencies {
val slf4jVersion: String by project
val logbackVersion: String by project
val junitVersion: String by project
compileOnly(libs.slf4j)
implementation(libs.logback)
compileOnly("org.slf4j:slf4j-api:$slf4jVersion")
implementation("ch.qos.logback:logback-classic:$logbackVersion")
api(project(":devkit-core"))
api(project(":devkit-utils"))
api(project(":guid"))
implementation(project(":devkit-core"))
implementation(project(":devkit-utils"))
implementation(project(":guid"))
testCompileOnly("org.slf4j:slf4j-api:$slf4jVersion")
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
testImplementation(libs.junit)
}
tasks.test {