I wanted to build a plugin module that can be loaded with a ServiceLoader. This requires adding a file to the META-INF/services directory, that is named after t
META-INF/services
Hi Can try this: https://plugins.gradle.org/plugin/com.github.harbby.gradle.serviceloader
Usage
serviceLoader { serviceInterface 'org.example.plugins.PluginService' serviceInterface 'org.example.plugins.PluginService2' }