Error using new gradle 3.0.0-alpha1 plugin (and Android Studio 3.0)
damianflannery opened this issue · 2 comments
Error:Execution failed for task ':multisurvey:javaPreCompileDebug'.
Annotation processors must now be declared explicitly. The following dependencies in the compile classpath are found to contain annotation processors. Please add them to the annotationProcessor configuration.
- icepick-processor-3.2.0.jar
Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with the previous behavior. Note that this option is deprecated and will be removed in the future.
See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.
Try to use:
api 'frankiesardo:icepick:3.2.0'
compileOnly 'frankiesardo:icepick-processor:3.2.0'
annotationProcessor 'frankiesardo:icepick-processor:3.2.0'
I have the same problem and the hint of spinillos failed too.
I'm using gradle:3.0.0-beta2 on android studio 3 beta 2