Hello,
I’ve created a Kotlin-Gradle project with four subprojects that implement the Java Service Provider Interface pattern, which I’ve used in Java. Unfortunately, the Kotlin version does not work… When I try to load the modules, none are located. Whereas, the “same” code in Java returns three providers, as expected. I am suspicious that Kotlin requires some additional tasks to compile or move things around, like when I tried to use Java 9 Modules in Kotlin. Anyway, I’d really appreciate any tidbits or examples… I need to implement a pluggable application, and would really like to use SPI. Here are links to my two experimental projects (Kotlin & Java):
KOTLIN: https://gitlab.com/abitofhelp.shared/spiapp.git
JAVA: https://gitlab.com/abitofhelp.shared/spiapp-java.git
Thank you for your time and interest!
Mike