files/files-ftp-fs/build.gradle

21 lines
580 B
Groovy
Raw Normal View History

2021-11-29 15:44:33 +01:00
dependencies {
2021-11-29 18:54:29 +01:00
api project(':files-api')
2021-11-29 15:44:33 +01:00
api project(':files-ftp')
testImplementation testLibs.mockftpserver
testImplementation testLibs.junit.jupiter.params
testImplementation testLibs.mockito.core
testImplementation testLibs.mockito.junit.jupiter
2024-04-21 10:19:27 +02:00
testImplementation testLibs.slf4j
}
def moduleName = 'org.xbib.io.ftp.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
2021-11-29 15:44:33 +01:00
}