net-http/net-http-template-groovy/build.gradle

15 lines
368 B
Groovy

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