Currently there is no way for inserting a Plugin into a list of those passed to a Pipeline when adding a Gradle Plugin which works together with another Gradle Plugin configuring the Compiler. We can only add to the end of the list of Plugins.
It is needed to have the ability to order the plugins because some of them need to be executed after another. For example, we have JavaCodeStyleFormatterPlugin which is natural to be executed last in a pipeline.
Therefore, we need to have either "weights" of the plugins or some "mustRunAfter" notion between the plugins similarly to how Gradle orders the tasks.
Currently there is no way for inserting a
Plugininto a list of those passed to aPipelinewhen adding a Gradle Plugin which works together with another Gradle Plugin configuring the Compiler. We can only add to the end of the list ofPlugins.It is needed to have the ability to order the plugins because some of them need to be executed after another. For example, we have
JavaCodeStyleFormatterPluginwhich is natural to be executed last in a pipeline.Therefore, we need to have either "weights" of the plugins or some "mustRunAfter" notion between the plugins similarly to how Gradle orders the tasks.