Sam Gammon
11/22/2022, 3:09 AMorg.gradle.debug=true
and in-process
mode for the Kotlin compiler, but it still doesn't hit my breakpoints within the plugin.
the plugin is in a composite build, and i am running the compile from the parent build -- my hope is to apply the plugin within the parent build. so far, i'm able to confirm that the following is working correctly:
• the gradle sub-plugin which hosts the compiler plugin is applied (i hit a breakpoint here)
• the gradle sub-plugin correctly states that it isApplicable
• the plugin JAR ends up on the command line at -Xplugin=
• the plugin args end up on the command line at [..., -P, ":plugin:<name>:enabled=true,..."]
despite all of this:
• a test that verifies the plugin's effects fails
• i cannot hit breakpoints within the compiler plugin, but i can within the gradle script
• i do not see log messages reported via <http://CompilerMessageSeverity.INFO|CompilerMessageSeverity.INFO>
• i do not see log messages reported via CompilerMessageSeverity.LOGGING
• but then again maybe the plugin isn't running, or isn't hitting that code?
has anybody seen this before? thank you in advance for any help