15 lines
324 B
Groovy
15 lines
324 B
Groovy
|
dependencies {
|
||
|
api project(':net-security-auth')
|
||
|
}
|
||
|
|
||
|
def moduleName = 'org.xbib.net.mail.test'
|
||
|
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
|
||
|
|
||
|
tasks.named('compileTestJava') {
|
||
|
options.compilerArgs += patchArgs
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
jvmArgs += patchArgs
|
||
|
}
|