<Kapt with Gradle, Spring Boot and Mapstruct in a ...
# stackoverflow
u
Kapt with Gradle, Spring Boot and Mapstruct in a multi-project not working I've moved a Java multi-project Gradle project to Kotlin. In this project I use Mapstruct. To create the required mapstruct implementation I configured kapt. Now when I start the application, Spring Boot does not find the beans from our Infrastructure Lib. When I copy the generated class of Mapstruct and remove kapt, everything works fine. Some background build.gradle in the subproject, which is using Mapstruct: apply plugin: "kotlin-kapt" dependencies { api project(":myproject-dto")...