UpdateBackwardsCompatibilityExemptsTask
Rewrites the module's Kotlin sources so that every recorded watchdog diagnostic is acknowledged with the matching @Intentionally* exemption annotation carrying reason = ExemptionReason.FOR_BACKWARDS_COMPATIBILITY.
The task is meant for adopting the watchdog on an existing library: the already-shipped API can't change shape without breaking users, so its diagnostics are acknowledged wholesale and the checks keep guarding only the API added afterwards. New code should get a deliberate decision instead: fix the shape, or pick the honest reason by hand.
When this task is selected, every main Kotlin compilation writes a report through the regular KGP compile task. This task depends on those compilations, hands all reports to one standalone PSI fixer process, and never invokes a Kotlin compiler itself. Exact duplicates from common sources compiled for several targets are removed by the fixer.
Properties
The main Kotlin compile task names KGP exposed to the compiler support plugin.
Reports written by the regular Kotlin compilation tasks. Missing reports are empty.
The standalone fixer tool and kotlin-compiler-embeddable used for PSI parsing.
The directory console output relativizes source paths against.