2024-03-02 22:53:34 +01:00
|
|
|
dependencies {
|
|
|
|
implementation libs.jsoup
|
2024-03-04 22:29:32 +01:00
|
|
|
implementation project(':javapoet')
|
2024-03-02 22:53:34 +01:00
|
|
|
testImplementation testLibs.mockito.core
|
|
|
|
}
|
2024-03-04 22:29:32 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|