files/files-ftp-fs/build.gradle

21 lines
590 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.junit.jupiter.params
testImplementation testLibs.mockito.core
testImplementation testLibs.mockito.junit.jupiter
2024-04-21 10:19:27 +02:00
testImplementation testLibs.slf4j
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
}