logging/logging-adapter-log4j/build.gradle

18 lines
391 B
Groovy
Raw Normal View History

2024-07-05 22:23:39 +02:00
dependencies {
api project(':logging')
api libs.log4j.core
testImplementation project(':logging-ext')
2024-07-05 22:23:39 +02:00
}
def moduleName = 'org.xbib.logging.log4j.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}