Workarounds for IntelliJ Issue IDEA-264036
Follow the steps as described in the test MapperServiceTest, but this can lead to conflicts in case of a project where multiple modules are added to the IntelliJ project.
Add sourceSets to the gradle config as shown here build.gradle.kts