Given java-based project with mixed languages (Groovy, Java, Kotlin) and multiple *Compile task, how can I post-process generated class files to comply with gradle’s incremental build mechanics?
Call post processing as “doLast” of each “AbstractCompile” is not an option due to potential cross-references between different compilation tasks.
Call post processing as “doLast” of “classes” task effectively invalidates up-to-date checks for compilation (as processing is performed in-place")
What are other options? How do I add a post-processing, so that tests/jar tasks all work as expected?