net-http/net-http-netty-conscrypt/build.gradle

16 lines
423 B
Groovy

dependencies {
api project(':net-http-server-netty-secure')
api project(':net-http-client-netty-secure')
api libs.conscrypt
}
def moduleName = 'org.xbib.net.http.netty.conscrypt.test'
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
tasks.named('compileTestJava') {
options.compilerArgs += patchArgs
}
tasks.named('test') {
jvmArgs += patchArgs
}