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')
|
2024-04-13 19:30:30 +02:00
|
|
|
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
|
2024-05-01 22:52:19 +02:00
|
|
|
testImplementation project(':files-ftp-mock')
|
2024-04-21 10:19:27 +02:00
|
|
|
}
|
|
|
|
|
2024-05-02 10:58:52 +02:00
|
|
|
def moduleName = 'org.xbib.files.ftp.fs.test'
|
2024-04-21 10:19:27 +02:00
|
|
|
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
|
|
|
}
|