In order to start using Kotlin to develop plugins we need to ensure that the Annotation are pre processed so that ImageJ can display the shortcuts in the menu’s
To accomplish that the following code need to be added to your pom:
and example can also be found in https://github.com/imagej/example-imagej-command-kotlin/pom.xml
If gradle is your built system of choice, then the following code need to be added to your build.gradle:
id "org.jetbrains.kotlin.kapt" version "1.3.10"
and example can also be found in https://github.com/imagej/example-imagej-command-kotlin/build.gradle