Stupid question, I can attach a debuger into a compiler plugin, but how do I print something to console?
println
doesn't seem to work, and I have
verbose
flag in compile options as well (building via gradle)
r
raulraja
09/07/2021, 12:29 PM
In my experience, you need to get a hold of a
MessageCollector
or create specific diagnostic messages that you can emit with the BindingTrace. Simple printlns work for me in tests but does not show up when running the plugin over a project.