14 lines
316 B
Groovy
14 lines
316 B
Groovy
dependencies {
|
|
implementation libs.jna
|
|
}
|
|
|
|
def moduleName = 'org.xbib.net.socket.test'
|
|
def patchArgs = ['--patch-module', "$moduleName=" + files(sourceSets.test.resources.srcDirs).asPath ]
|
|
|
|
tasks.named('compileTestJava') {
|
|
options.compilerArgs += patchArgs
|
|
}
|
|
|
|
tasks.named('test') {
|
|
jvmArgs += patchArgs
|
|
}
|