content/content-json/build.gradle

16 lines
373 B
Groovy
Raw Normal View History

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