-
-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Labels
Description
Expected and Results
Hi, I am writing a Gradle plugin that uses Shadow and I wanted to test it on Gradle 9, but ran into an incompatibility inside the shadow plugin. Specifically with how Groovy 4 handles super calls.
See https://github.com/neoforged/ModDevGradle/actions/runs/15619647688/job/44000997539?pr=263. The problem comes from com.github.jengelman.gradle.plugins.shadow.impl.RelocatorRemapper.mapValue(RelocatorRemapper.groovy:84). Specifically the super call doesn't work anymore on Groovy 4 after being compiled with Groovy 3. (See https://issues.apache.org/jira/browse/GROOVY-11193)
Suggested fix: Add @CompileStatic to that class and hopefully to as many classes, if possible.
Thanks a lot!
Related environment and versions
No response
Reproduction steps
No response
Anything else?
No response