Annotation Processing
ScottPierce opened this issue · comments
Scott Pierce commented
Kotlin processes annotations slightly different from Java. The Kotlin gradle plugin requires some special syntax for annotation processors (kapt
instead of compile
). Would annotation processors for Kotlin with this plugin? If so, does anything special need to be done?
Perry commented
If it works like java, then the annotation processor only needs to be on classpath. If it's a compile-time only dependency, you can use libraryDependencies += group % artifactid % version % "compile-internal"
Perry commented
I assume "compile-internal" is sufficient