net/net-security/build.gradle

15 lines
366 B
Groovy

dependencies {
api project(':net')
testImplementation project(':net-bouncycastle')
}
def moduleName = 'org.xbib.net.security.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}