icepick icon indicating copy to clipboard operation
icepick copied to clipboard

Error using new gradle 3.0.0-alpha1 plugin (and Android Studio 3.0)

Open damianflannery opened this issue 7 years ago • 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.

damianflannery avatar May 19 '17 09:05 damianflannery

Try to use:

api 'frankiesardo:icepick:3.2.0'
compileOnly 'frankiesardo:icepick-processor:3.2.0'
annotationProcessor 'frankiesardo:icepick-processor:3.2.0'

spinillos avatar May 19 '17 12:05 spinillos

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

alexodus avatar Aug 14 '17 14:08 alexodus