net-http/net-http-j2html/build.gradle

16 lines
349 B
Groovy
Raw Permalink Normal View History

2023-07-04 18:42:00 +02:00
dependencies {
api project(':net-http-server')
api libs.j2html
}
2024-03-04 16:03:29 +01:00
def moduleName = 'org.xbib.net.http.j2html.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}