Slackbot
08/31/2023, 3:06 PMJendrik Johannes
08/31/2023, 3:19 PMresolvedConfiguration access here is the problematic part I believe:
https://github.com/johnrengelman/shadow/blob/main/src/main/groovy/com/github/jenge[…]/gradle/plugins/shadow/internal/AbstractDependencyFilter.groovy
That should not be done and instead the filtering implemented there should be done lazily at a later point. It breaks transforms. I did not follow up, as I somehow did not required a solution in my case (but I don't remember why right now...)
The best solution would be a patch for the Shadow plugin.Florian Dreier
08/31/2023, 3:28 PMclean shadowJar also reproduces the issue locally. I was running shadowJar --rerun-tasks before, but looks like this does not affect artifact transforms.Jendrik Johannes
08/31/2023, 3:33 PMFlorian Dreier
09/03/2023, 10:57 AM