From 5ebd42b8f5ca49b764a983432de7a3beb3b7f140 Mon Sep 17 00:00:00 2001 From: ice1000 Date: Wed, 27 Nov 2024 13:08:12 -0500 Subject: [PATCH 1/2] deps: update build-util --- gradle/libs.versions.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1742dae94..ea2bf0791 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,7 +12,8 @@ annotations = "26.0.1" kala = "0.76.0" # https://picocli.info picocli = "4.7.6" -build-util = "0.0.28" +# https://repo1.maven.org/maven2/org/aya-prover/upstream/build-util/ +build-util = "0.0.29" # https://github.com/jline/jline3 jline = "3.27.1" # https://github.com/commonmark/commonmark-java From 73a81c56de189a9dcc047faf236b84bcf3f0e12c Mon Sep 17 00:00:00 2001 From: ice1000 Date: Wed, 27 Nov 2024 13:13:17 -0500 Subject: [PATCH 2/2] build: fix compile --- build.gradle.kts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 04a64156a..02404acb5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -110,9 +110,10 @@ subprojects { tree.include("module-info.class") tree.forEach { BuildUtil.stripPreview( - root.toPath(), it.toPath(), - false, false, - "java/lang/RuntimeException", + /* root = */ root.toPath(), + /* classFile = */ it.toPath(), + /* forceJava21 = */ false, + /* verbose = */ false, ) } }