fix: test support for java11

This commit is contained in:
xz-dev 2021-10-07 16:28:04 +08:00
parent ff28a00f97
commit e0bcac9a56
No known key found for this signature in database
GPG key ID: A20912F811313E36
2 changed files with 4 additions and 0 deletions

View file

@ -203,6 +203,10 @@ artifacts {
archives file(project.tasks.jar.getArchivePath().getPath().replace('.jar', '.zip').replace('libs', 'distributions'))
}
test {
jvmArgs '--add-opens=java.base/sun.security.x509=ALL-UNNAMED'
}
task copyArtifacts(type: Copy) {
dependsOn build
from shadowJar

0
gradlew vendored Normal file → Executable file
View file