files/files-ftp-mock/build.gradle
2024-05-02 10:58:52 +02:00

16 lines
435 B
Groovy

dependencies {
testImplementation testLibs.junit.jupiter.params
testImplementation project(':files-ftp')
testImplementation testLibs.mockito.core
}
def moduleName = 'org.xbib.files.ftp.mock.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}