Open alexander-yevsyukov opened 5 years ago
As the author of the apt plugin suggests:
apt
// Workaround for https://youtrack.jetbrains.com/issue/IDEA-182577 idea { module { sourceDirs += compileJava.options.annotationProcessorGeneratedSourcesDirectory generatedSourceDirs += compileJava.options.annotationProcessorGeneratedSourcesDirectory testSourceDirs += compileTestJava.options.annotationProcessorGeneratedSourcesDirectory generatedSourceDirs += compileTestJava.options.annotationProcessorGeneratedSourcesDirectory } }
Also this:
// Workaround for https://youtrack.jetbrains.com/issue/IDEA-187868 idea { module { scopes.PROVIDED.plus += configurations.annotationProcessor scopes.TEST.plus += configurations.testAnnotationProcessor } }
See the plugin repo README for details.
@yuri-sergiichuk, did you try this workaround?
Nope, but looks like it is working for me now without any additional configurations. I've just enabled annotation processors and that's it.
As the author of the
apt
plugin suggests:Also this:
See the plugin repo README for details.