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