From dbd71b25f9afc8162a3200506176d3de8d64e2f8 Mon Sep 17 00:00:00 2001 From: Nolij Date: Sat, 15 Jun 2024 15:35:02 -0400 Subject: [PATCH] yes i do need to save a whole 11 bytes --- buildSrc/src/main/kotlin/dev/nolij/zumegradle/JarCompressing.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/buildSrc/src/main/kotlin/dev/nolij/zumegradle/JarCompressing.kt b/buildSrc/src/main/kotlin/dev/nolij/zumegradle/JarCompressing.kt index 3f7585f..e3d7a42 100644 --- a/buildSrc/src/main/kotlin/dev/nolij/zumegradle/JarCompressing.kt +++ b/buildSrc/src/main/kotlin/dev/nolij/zumegradle/JarCompressing.kt @@ -123,6 +123,7 @@ private fun processClassFile(bytes: ByteArray, mappings: MemoryMappingTree): Byt val strippableAnnotations = setOf( "Lorg/spongepowered/asm/mixin/Dynamic;", + "Lorg/spongepowered/asm/mixin/Final;", "Ljava/lang/SafeVarargs;", ) val canStripAnnotation = { annotationNode: AnnotationNode ->