2022-10-20 10:19:32 +02:00
|
|
|
dependencies {
|
|
|
|
api project(':net-http')
|
2023-11-04 19:45:51 +01:00
|
|
|
implementation libs.datastructures.tiny
|
2023-03-26 22:23:46 +02:00
|
|
|
implementation libs.datastructures.json.tiny
|
2024-03-25 17:10:12 +01:00
|
|
|
implementation libs.settings.api
|
2022-10-20 10:19:32 +02:00
|
|
|
}
|
2024-03-04 16:03:29 +01:00
|
|
|
|
|
|
|
def moduleName = 'org.xbib.net.http.server.test'
|
|
|
|
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
|
|
|
|
|
|
|
|
tasks.named('compileTestJava') {
|
|
|
|
options.compilerArgs += patchArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
jvmArgs += patchArgs
|
|
|
|
}
|