Skip to content

Commit

Permalink
Use extra for version control of logstash-logback-encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmanil committed Nov 28, 2024
1 parent d57c871 commit 16ddfef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ kotlin {
implementation("org.apache.logging.log4j:log4j-slf4j2-impl:${extra["log4j_version"]}")
implementation("org.slf4j:slf4j-api:${extra["slf4j_version"]}")
implementation("ch.qos.logback:logback-classic:${extra["logback_version"]}")
implementation("net.logstash.logback:logstash-logback-encoder:8.0")
implementation("net.logstash.logback:logstash-logback-encoder:${extra["logstash_logback_encoder_version"]}")

// our jul test just forward the logs jul -> slf4j -> log4j
implementation("org.slf4j:jul-to-slf4j:${extra["slf4j_version"]}")
Expand Down
1 change: 1 addition & 0 deletions versions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ extra["log4j_version"] = "2.22.0"
extra["mockito_version"] = "4.11.0"
extra["junit_version"] = "5.9.2"
extra["logback_version"] = "1.5.11"
extra["logstash_logback_encoder_version"] = "8.0"

0 comments on commit 16ddfef

Please sign in to comment.