Skip to content

Commit b1ef738

Browse files
committed
Split slf4j version from dependencies declaration
1 parent f6d66a8 commit b1ef738

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle.kts

+4-2
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ val deploy: Configuration by configurations.creating
164164

165165
dependencies {
166166
val junitVersion = "5.6.2"
167+
val slf4jVersion = "1.7.29"
168+
167169
testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion")
168170
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitVersion")
169171
testImplementation(kotlin("test"))
@@ -184,12 +186,12 @@ dependencies {
184186
compileOnly(kotlin("scripting-compiler-impl"))
185187

186188
implementation("org.apache.maven:maven-core:3.0.3")
187-
implementation("org.slf4j:slf4j-api:1.7.29")
189+
implementation("org.slf4j:slf4j-api:$slf4jVersion")
188190
implementation("khttp:khttp:1.0.0")
189191
implementation("org.zeromq:jeromq:0.3.5")
190192
implementation("com.beust:klaxon:5.2")
191193
implementation("com.github.ajalt:clikt:2.3.0")
192-
runtimeOnly("org.slf4j:slf4j-simple:1.7.29")
194+
runtimeOnly("org.slf4j:slf4j-simple:$slf4jVersion")
193195
runtimeOnly("org.jetbrains.kotlin:jcabi-aether:1.0-dev-3") {
194196
exclude("org.slf4j", "slf4j-log4j12")
195197
}

0 commit comments

Comments
 (0)