Closed LarsBodewig closed 2 months ago
The name of a class is derived from its path, and in this case this is incorrect as its a MR jar file. I will need to see how I can process those locations.
Sorry for the late feedback, but looks good to me now.
I tried using the ByteBuddyJarTask of the gradle plugin with a custom byte-buddy plugin to transform a local jar. However the plugin fails on jar files that contain class files under
META-INF/versions
.The jar file I used:
org.lwjgl:lwjgl:3.3.3
My gradle build file with a minimal custom plugin (simplified from my actual script):
The stacktrace is
As far as I can tell my custom plugin executes successfully, as the output contains the "type name"
META-INF.versions.10.org.lwjgl.system.MathUtil
, however the ByteBuddyJarTask fails before going to the next type. I suppose byte buddy wrongly identifies the type name since it should not containMETA-INF.versions.10
.