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