# Kotlin

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:

 kapt    kapt        src/main/kotlin  src/main/java        net.imagej  imagej  2.0.0-rc-68     

</sub>

and example can also be found in https://github.com/imagej/example-imagej-command-kotlin/pom.xml

plugins {

 id “org.jetbrains.kotlin.kapt” version “1.3.10”

}

dependencies {

 kapt ‘net.imagej:imagej:2.0.0-rc-68’

}

</sub>

and example can also be found in https://github.com/imagej/example-imagej-command-kotlin/build.gradle