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

16 lines
368 B
Groovy
Raw Normal View History

2022-10-20 10:19:32 +02:00
dependencies {
api project(':net-http-server')
api libs.groovy.templates
}
2024-03-04 16:03:29 +01:00
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
}