Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
damianflannery opened this issue May 19, 2017 · 2 comments
Open

Comments

@damianflannery
Copy link

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.

@spinillos
Copy link

Try to use:

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

@alexodus
Copy link

alexodus commented Aug 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants