content/content-resource/build.gradle

15 lines
331 B
Groovy
Raw Permalink Normal View History

dependencies {
api libs.net
testImplementation libs.jackson.databind
}
def patchArgs = ['--patch-module', "org.xbib.content.resource.test=" + sourceSets.test.resources.sourceDirectories.singleFile]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}