Select log4j version?
carlchan opened this issue · comments
Carl Chan commented
Any way to select specific log4j version to be installed to test the various versions?
asksven commented
Just add to build.gradle (for 2.16.0):
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.apache.logging.log4j') {
details.useVersion '2.16.0'
}
}
}
Christophe Tafani-Dereeper commented
Thanks @asksven, closing since you explained