From 4c57f68278547015cbb48321943dead4af7a87c9 Mon Sep 17 00:00:00 2001 From: Stephanie Gawroriski Date: Sat, 11 Feb 2023 18:01:14 +0000 Subject: [PATCH] Drop parameter annotations since we do not need them. --- .../cc/squirreljme/plugin/multivm/VMCompactLibraryTaskAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/cc/squirreljme/plugin/multivm/VMCompactLibraryTaskAction.java b/buildSrc/src/main/java/cc/squirreljme/plugin/multivm/VMCompactLibraryTaskAction.java index 4455f744a3..e3eb59e508 100644 --- a/buildSrc/src/main/java/cc/squirreljme/plugin/multivm/VMCompactLibraryTaskAction.java +++ b/buildSrc/src/main/java/cc/squirreljme/plugin/multivm/VMCompactLibraryTaskAction.java @@ -71,7 +71,9 @@ public class VMCompactLibraryTaskAction // Consumers of the libraries/APIs need to see the annotation // information if it is there, to make sure it is retained - "-keepattributes", "*Annotation*", + "-keepattributes", "RuntimeVisibleAnnotations," + + "RuntimeInvisibleAnnotations," + + "AnnotationDefault", // Keep interfaces, because with them being used elsewhere and // otherwise things can easily break... also keep the methods they -- 2.11.4.GIT