Closed sasanquaa closed 2 years ago
What about sources? (https://github.com/gradle/gradle/issues/19207)
Hmm, yeah this doesn't seem to work with sources though. Like in the issue, it is not triggering the transformer
This is a known problem, and currently Gradle is not able to support this. There are at least two known issues with this:
ArtifactResolutionQuery
instances which do not use configurations or attributes as such they will, at least as of now, never use transformers.As such I will be closing this PR for now, if you want to talk about this, you can come visit our Discord, or possibly even send me a DM and I will show you every possible way I have tried to make this work over the last two years. I personally have at least 3 issues open (one on IDEAs youtrack and two on Gradles repo) which handle this.
Greets,
Orion
Just a clarification as it's somewhat related. A ArtifactTransformer would be useful for someething like AccessTransformers, as yes it would slightly desync the source files, it woulld be worth it for the cleanup of decompile/cache files. Soo if you want to look into something llike that. It may be worth it.
This pull request proposes a configuration to be used for deobfuscating Minecraft codes related to #609 #747.
Example usage: