PF4J can be used in Kotlin project as well. One has to use the Kotlin annotation processing tool kapt for the plugin project written in Kotlin.
demo_gradle project contains one plugin project plugin3 written in Kotlin for demonstration.
If you are interested in how to use PF4J with Gradle Kotlin DSL please take a look on pf4j-kotlin-demo.
- all components are written in Kotlin: app, api, plugins
gradle.ktsbuild scripts for the whole project
- basically an enhanced copy of