The Meta plugin supports N numbers of local and remote sub CliPlugin that provide a List of ExtensionPhase subscriptions. registerProjectComponents implementation calls intercept to deliver subscriptions to the Kotlin Compiler in the right order.
As the Kotlin Compiler progresses through its phases it will call the plugin ExtensionPhase. Depending on the Compiler phase each of the phases of a plugin are called. The compiler invokes the CliPlugin in the same ordered as they are returned in intercept.
Do you like Arrow?✖