frankiesardo / icepick

Android Instance State made easy
Eclipse Public License 1.0
3.76k stars 208 forks source link

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

Open damianflannery opened 7 years ago

damianflannery commented 7 years ago

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.

spinillos commented 7 years ago

Try to use:

api 'frankiesardo:icepick:3.2.0'
compileOnly 'frankiesardo:icepick-processor:3.2.0'
annotationProcessor 'frankiesardo:icepick-processor:3.2.0'
alexodus commented 7 years ago

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