log4j bom (#897)

This commit is contained in:
PJ Fanning 2025-09-11 10:52:01 +01:00 committed by GitHub
parent 2b7f7074a0
commit 49fd564023
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 3 additions and 6 deletions

View File

@ -171,12 +171,14 @@ subprojects {
}
dependencies {
api platform("org.apache.logging.log4j:log4j-bom:${log4jVersion}")
api 'org.apache.logging.log4j:log4j-api'
testImplementation platform("org.junit:junit-bom:${junitVersion}")
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}"
testImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
testImplementation 'org.apache.logging.log4j:log4j-core'
if (SAXON_TEST) {
testRuntimeOnly("net.sf.saxon:Saxon-HE:${saxonVersion}") {

View File

@ -35,8 +35,6 @@ dependencies {
implementation project(path: ':poi-scratchpad', configuration: 'archives')
}
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
testImplementation(project(path: ':poi-ooxml', configuration: 'tests')) {
if (NO_SCRATCHPAD) {
exclude group: 'org.apache.poi', module: 'poi-scratchpad'

View File

@ -68,7 +68,6 @@ dependencies {
api "org.apache.commons:commons-compress:${commonsCompressVersion}"
api "commons-io:commons-io:${commonsIoVersion}"
api 'com.github.virtuald:curvesapi:1.08'
api "org.apache.logging.log4j:log4j-api:${log4jVersion}"
api 'org.apache.commons:commons-collections4:4.5.0'
signingImplementation "org.apache.santuario:xmlsec:${xmlSecVersion}"

View File

@ -34,7 +34,6 @@ sourceSets {
dependencies {
api project(':poi')
api project(path:':poi', configuration: 'archives')
api "org.apache.logging.log4j:log4j-api:${log4jVersion}"
api "org.apache.commons:commons-math3:${commonsMathVersion}"
api "commons-codec:commons-codec:${commonsCodecVersion}"

View File

@ -41,7 +41,6 @@ dependencies {
api "org.apache.commons:commons-math3:${commonsMathVersion}"
api "commons-io:commons-io:${commonsIoVersion}"
api 'com.zaxxer:SparseBitSet:1.3'
api "org.apache.logging.log4j:log4j-api:${log4jVersion}"
testImplementation 'org.reflections:reflections:0.10.2'
testImplementation 'org.apache.ant:ant:1.10.15'