How to access post-processing Java compiler output logs (based on source files) from a Gradle Plugin?

Hello,

So… my question is: I’d like to have access to post-processing Java compiler output logs, based on source code (AST), in a structured way. Is that possible? How can I achieve this within a Gradle Plugin?

What I would like to access from the Gradle plugin is the source, line, and errors found. Imagine that I’d like to build a Java Language Server for an IDE. :wink:

Thanks in advance!

anyone could enlight me with this?