dependencies { api project(':net-http-server-netty') api libs.net.security testImplementation project(':net-http-client-netty-secure') testImplementation project(':net-http-netty-boringssl') testImplementation libs.net.bouncycastle } test { systemProperty 'application.name', 'test' systemProperty 'application.home', 'src/test/resources' systemProperty 'application.profile', 'test' } def moduleName = 'org.xbib.net.http.server.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 }