解决编译报错Annotation processors must be explicitly declared now
今天在做一个自定义注解时,编译报错 -> Annotation processors must be explicitly declared now.
异常的完成信息如下:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':annotations_demo:javaPreCompileDebug'.
> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration.
- annotation