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

14 lines
336 B
Groovy

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