2016-10-03 14:25:26 +02:00
|
|
|
dependencies {
|
2021-05-15 21:08:47 +02:00
|
|
|
api project(':content-core')
|
|
|
|
api project(':content-resource')
|
2022-08-04 11:47:14 +02:00
|
|
|
api libs.jackson.dataformat.xml
|
|
|
|
runtimeOnly libs.woodstox
|
2021-05-15 20:03:23 +02:00
|
|
|
testImplementation project(':content-json') // for XContentHelper reading JSON
|
2016-10-03 14:25:26 +02:00
|
|
|
}
|
2024-04-08 16:04:18 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|