content/content-xml/build.gradle

17 lines
483 B
Groovy

dependencies {
api project(':content-core')
api project(':content-resource')
api libs.jackson.dataformat.xml
runtimeOnly libs.woodstox
testImplementation project(':content-json') // for XContentHelper reading JSON
}
def patchArgs = ['--patch-module', "org.xbib.content.xml.test=" + sourceSets.test.resources.sourceDirectories.singleFile]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}