Open
Description
Currently adding a custom plugin requires adaptations to the Maven/Gradle plugin as
a) FormatterStepFactory and
b) FormatterFactory or FormatExtension
are
a) not build system agnostic and
b) are not dynamically looked up
It would be beneficial to have a build-agnostic plugin SPI which allows to
a) load dependencies
b) pass configuration
c) dynamically lookup services from classpath (e.g. with https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ServiceLoader.html)
For Maven the mechanism for adding additional classes to the plugin classpath is via plugin dependencies. I hope that Gradle provides something similar.