Skip to content

Commit

Permalink
Use log4j bom
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Dec 16, 2024
1 parent a63577b commit f53b7df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ description = "FTPFetcher"

dependencies {
implementation(platform(libs.jacksonBom))
implementation(platform(libs.log4j2Bom))

implementation(libs.sshj)

Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[versions]
slf4j-version = "2.0.16"
log4j2-version = "2.24.2"
log4j2-slf4j-version = "2.24.2"
log4j2-version = "2.24.3"
sshj-version = "0.39.0"
picocli-version = "4.7.6"
jackson-version = "2.18.2"
Expand All @@ -20,8 +19,9 @@ jib-version = "3.4.4"

[libraries]
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j-version" }
log4j2-core = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j2-version" }
log4j2-slf4j = { group = "org.apache.logging.log4j", name = "log4j-slf4j2-impl", version.ref = "log4j2-slf4j-version" }
log4j2Bom = { group = "org.apache.logging.log4j", name = "log4j-bom", version.ref = "log4j2-version" }
log4j2-core = { group = "org.apache.logging.log4j", name = "log4j-core" }
log4j2-slf4j = { group = "org.apache.logging.log4j", name = "log4j-slf4j2-impl" }
sshj = { group = "com.hierynomus", name = "sshj", version.ref = "sshj-version" }
picocli = { group = "info.picocli", name = "picocli", version.ref = "picocli-version" }
jacksonBom = { group = "com.fasterxml.jackson", name = "jackson-bom", version.ref = "jackson-version" }
Expand Down

0 comments on commit f53b7df

Please sign in to comment.