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. The demo_gradle project contains one plugin project plugin3 written in Kotlin for demonstration.