content/content-xml/build.gradle

18 lines
483 B
Groovy
Raw Permalink Normal View History

2016-10-03 14:25:26 +02:00
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
2016-10-03 14:25:26 +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
}