Thanks, I worked with that and managed to get the import being viewed by my IDE. Unfortunately, when I add a custom annotation to a class, it fails and says the corresponding kotlinpoet FunSpec is not found. I added the kotlinpoet dependencies to the using project's build.gradle but the problem persists, and I was unable to find a resource which explained why it could not be resolved.