14 lines
331 B
Groovy
14 lines
331 B
Groovy
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
|
|
}
|