j2html/j2html-codegen/build.gradle

17 lines
407 B
Groovy
Raw Normal View History

2024-03-02 22:53:34 +01:00
dependencies {
implementation libs.jsoup
implementation project(':javapoet')
2024-03-02 22:53:34 +01:00
testImplementation testLibs.mockito.core
}
def moduleName = 'org.xbib.j2html.codegen.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}