12 lines
272 B
Groovy
12 lines
272 B
Groovy
|
|
||
|
def moduleName = 'org.xbib.content.csv.test'
|
||
|
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
|
||
|
|
||
|
tasks.named('compileTestJava') {
|
||
|
options.compilerArgs += patchArgs
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
jvmArgs += patchArgs
|
||
|
}
|