-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Problem
Kotlin doesn't see Lombok accessors in Java Files (eg: @Data).
Problem infos
- lombok issue
- Kotlin Support
Kotlin Support projectlombok/lombok#1169
- Kotlin Support
- stackoverflow.com
- Kotlin doesn't see Java Lombok accessors?
https://stackoverflow.com/questions/35517325/kotlin-doesnt-see-java-lombok-accessors - Configuring kapt to process lombok annotations
https://stackoverflow.com/questions/44180267/configuring-kapt-to-process-lombok-annotations - How to configure Lombok with maven-compiler-plugin?
https://stackoverflow.com/questions/42257379/how-to-configure-lombok-with-maven-compiler-plugin
- Kotlin doesn't see Java Lombok accessors?
Problem status and solution
status:
has not been resolved!
Quick and dirty solution
Convert lombok-fied java file to kotlin language.
aka. use kotlin instead of lombok. 😂
But this solution force the migration to kotlin, not nice! 😫
Related resources
- set up lombok with build tool maven - projectlombok.org
https://projectlombok.org/setup/maven - Compiling Kotlin and Java sources using Maven - kotlinlang.org
https://kotlinlang.org/docs/reference/using-maven.html#compiling-kotlin-and-java-sources
Metadata
Metadata
Assignees
Labels
No labels