Closed gmitch215 closed 1 year ago
This is one of the many qwerks of gradle and the hacks we have to do to make it bend to our will. Run it as two separate invocations and it should work fine.
To clarify, this is a known issue (for several years) and I cant fix it with the codebase in the state that it's in. I have plans to rewrite the toolchain to address this issue and many others. but I have limited time for the next couple months. So use the work around for now.
Hello, I'm trying to use Forge Access Transformers with my project. However, when you include the
clean
task, it causes compile errors:It seems that clean is running after the access transformers, causing them to delete the modified sources before
compileJava
takes place. Is this a bug? Do I need to set up something in mybuild.gradle.kts
?