net/net-mime/build.gradle

13 lines
270 B
Groovy
Raw Normal View History

2024-03-04 13:54:05 +01:00
def moduleName = 'org.xbib.net.mime.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}