From 4b39c1a215eb2809699870bec7f202a5ebebb73f Mon Sep 17 00:00:00 2001 From: Yingjian Wu Date: Tue, 15 Oct 2024 20:37:46 -0700 Subject: [PATCH] run jdk17 --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 27ce861c..4f6c4988 100755 --- a/build.gradle +++ b/build.gradle @@ -61,6 +61,10 @@ allprojects { apply plugin: 'java-library' apply plugin: "io.franzbecker.gradle-lombok" + tasks.withType(JavaExec) { + jvmArgs += ['--add-opens', 'java.base/java.lang.invoke=ALL-UNNAMED'] + } + lombok { version = '1.18.30' }