net-http/net-http-client/build.gradle

14 lines
322 B
Groovy

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