net-http/net-http-server/build.gradle

17 lines
435 B
Groovy

dependencies {
api project(':net-http')
api libs.config
implementation libs.datastructures.tiny
implementation libs.datastructures.json.tiny
}
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
}