net-http/net-http-server-netty-secure/build.gradle

25 lines
708 B
Groovy
Raw Normal View History

2022-10-20 10:19:32 +02:00
dependencies {
api project(':net-http-server-netty')
api libs.net.security
testImplementation project(':net-http-client-netty-secure')
testImplementation project(':net-http-netty-boringssl')
testImplementation libs.net.bouncycastle
}
test {
systemProperty 'application.name', 'test'
systemProperty 'application.home', 'src/test/resources'
systemProperty 'application.profile', 'test'
}
2024-03-04 16:03:29 +01:00
def moduleName = 'org.xbib.net.http.server.netty.secure.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}