user avatar
IJ-MR-21596 2/3 JPS: Add PathMacroContributor EP and migrate Kotlin plugin to it
Nikita Bobko authored
KTIJ-21292

Before this commit the only possible way to inject Path variables into the JPS
was PathMacrosImpl/PathMacroContributor EP. The problem with
PathMacrosImpl/PathMacroContributor is that it's application-wide. But we need
Project-wide solution for the Kotlin's KOTLIN_BUNDLED because starting from
KTIJ-11633, Kotlin JPS plugin is dynamically downloaded depending on project
settings

There is a complimentary commit in the Kotlin repository which implements
JpsPathMacroContributor EP in Kotlin JPS plugin

(cherry picked from commit 98757ff34313475399ede5f46105a6ca3c3da432)

GitOrigin-RevId: d4ea1a79905ce2141c3cba57f58a5a41cbfdc34b
60d629ea