net/net-path/build.gradle

14 lines
310 B
Groovy

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