https://kotlinlang.org logo
#ksp
Title
# ksp
j

Jerv Norsk

02/21/2023, 10:28 AM
Hello, there is a way to use KSP with Lombok and Mapstruct?
b

Big Chungus

02/21/2023, 11:55 AM
Lombok is powered by java's APT so the only way to run it on kotlin is via kapt. No idea what Mapstruct is.
In other words, ksp does not support running apt processors.
j

Jerv Norsk

02/21/2023, 12:38 PM
This is MapStruct: https://mapstruct.org/ An agile way to mapping DTO to Entity and vice versa.
j

Jiaxiang

02/21/2023, 6:52 PM
you can use KAPT and KSP at the same project, but there won’t be interactions between KAPT processor and KSP processors.
604 Views