Selective include/exclude the packages that mapsctruct should scan for processing #3494
Unanswered
rahulagrawal
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@rahulagrawal I am not sure that I understand what you are asking? I am not sure how exactly KAPT works. However, with the Java annotation processing we are going to get all the classes that are being compiled (through the java compiler) and we check if they are annotated with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a kotlin springboot project with many 3rd party libraries.
We are using mapstruct with KAPT using the following library.
org.mapstruct:mapstruct-processor:1.5.5.Final
Currently, it seems that everything under the roof - ie our own code as well as 3rpd party jars are scanned my mapstruct for transformation.
We are looking for ways to restrict the scanning to be done for only certain packages inside our source code.
May I know if there is a way to do this in mapstruct or this is something that KAPT should be providing.
Beta Was this translation helpful? Give feedback.
All reactions