15 lines
373 B
Groovy
15 lines
373 B
Groovy
dependencies {
|
|
api project(':content-core')
|
|
api libs.jackson.databind
|
|
testImplementation testLibs.mockito.core
|
|
}
|
|
|
|
def patchArgs = ['--patch-module', "org.xbib.content.json.test=" + sourceSets.test.resources.sourceDirectories.singleFile]
|
|
|
|
tasks.named('compileTestJava') {
|
|
options.compilerArgs += patchArgs
|
|
}
|
|
|
|
tasks.named('test') {
|
|
jvmArgs += patchArgs
|
|
}
|