-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Milestone
Description
The initializr should generate the appropriate entries for KAPT if the language is Kotlin and the ConfigurationProcessor is selected as dependency.
In gradle you just need to add the processor as an dependency to the kapt
configuration:
dependencies { kapt "org.springframework.boot:spring-boot-configuration-processor" }
https://stackoverflow.com/questions/37858833/spring-configuration-metadata-json-file-is-not-generated-in-intellij-idea-for-ko
Maven is a bit more verbose https://kotlinlang.org/docs/reference/kapt.html and requires declaration of the kapt
goal. However, there is an open issue that prevents kapt from working if a compiler plugin (e.g. kotlin-maven-allopen) is added as dependency https://youtrack.jetbrains.com/issue/KT-18022
LifeIsStrange, wakedeer, darioseidl, albertocavalcante and siberianlove