Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Remove log4j constraints for downstream users of client and common (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
james-deee authored Sep 29, 2023
1 parent 8cd8d27 commit d164531
Showing 1 changed file with 5 additions and 45 deletions.
50 changes: 5 additions & 45 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,51 +96,11 @@ allprojects {
}

dependencies {
implementation('org.apache.logging.log4j:log4j-core') {
version {
// this is the preferred version this library will use
prefer '2.17.2'
// the strict bounds, effectively allowing any 2.x version greater than 2.17.2
// could also remove the upper bound entirely if we wanted too
strictly '[2.17.2,3.0)'
}
}
implementation('org.apache.logging.log4j:log4j-api') {
version {
// this is the preferred version this library will use
prefer '2.17.2'
// the strict bounds, effectively allowing any 2.x version greater than 2.17.2
// could also remove the upper bound entirely if we wanted too
strictly '[2.17.2,3.0)'
}
}
implementation('org.apache.logging.log4j:log4j-slf4j-impl') {
version {
// this is the preferred version this library will use
prefer '2.17.2'
// the strict bounds, effectively allowing any 2.x version greater than 2.17.2
// could also remove the upper bound entirely if we wanted too
strictly '[2.17.2,3.0)'
}
}
implementation('org.apache.logging.log4j:log4j-jul') {
version {
// this is the preferred version this library will use
prefer '2.17.2'
// the strict bounds, effectively allowing any 2.x version greater than 2.17.2
// could also remove the upper bound entirely if we wanted too
strictly '[2.17.2,3.0)'
}
}
implementation('org.apache.logging.log4j:log4j-web') {
version {
// this is the preferred version this library will use
prefer '2.17.2'
// the strict bounds, effectively allowing any 2.x version greater than 2.17.2
// could also remove the upper bound entirely if we wanted too
strictly '[2.17.2,3.0)'
}
}
implementation('org.apache.logging.log4j:log4j-core')
implementation('org.apache.logging.log4j:log4j-api')
implementation('org.apache.logging.log4j:log4j-slf4j-impl')
implementation('org.apache.logging.log4j:log4j-jul')
implementation('org.apache.logging.log4j:log4j-web')
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'

testImplementation('org.springframework.boot:spring-boot-starter-test')
Expand Down

0 comments on commit d164531

Please sign in to comment.