Obsolete
Status Update
Comments
ar...@google.com <ar...@google.com>
uc...@google.com <uc...@google.com> #3
Thank you for this feedback. The team may reach out for more information on triaging or reproducing this issue.
mo...@gmail.com <mo...@gmail.com> #4
[Comment deleted]
[Deleted User] <[Deleted User]> #5
This may simply require updating the gradle error/hint message printed; could
simply be that console output hint contains a spurious "="
Would be good to fix that string which would eliminate this copy/paste bug
(cf latest updates to tickethttps://code.google.com/p/android/issues/detail?id=261654 )
simply be that console output hint contains a spurious "="
Would be good to fix that string which would eliminate this copy/paste bug
(cf latest updates to ticket
[Deleted User] <[Deleted User]> #6
i.e.
includeCompileClasspath true
vs
includeCompileClasspath = true
includeCompileClasspath true
vs
includeCompileClasspath = true
zt...@gmail.com <zt...@gmail.com> #7
you can use https://github.com/JakeWharton/AutoValueAnnotations to separate your annotation processor from your compile classpath correctly
je...@google.com <je...@google.com>
ch...@google.com <ch...@google.com> #8
@Steve
Is this still an issue with 3.0.0-alpha6? Does changing from 'includeCompileClasspath = true' to 'includeCompileClasspath true' really solve the issue? If the problem still persist, do you have a repro project to demonstrate this issue?
Is this still an issue with 3.0.0-alpha6? Does changing from 'includeCompileClasspath = true' to 'includeCompileClasspath true' really solve the issue? If the problem still persist, do you have a repro project to demonstrate this issue?
je...@google.com <je...@google.com> #9
removing from 3.0 hotlist until we get an update from submitter.
ch...@google.com <ch...@google.com> #10
Please open a new bug if this is still an issue.
Description
- gradle-3.4.1
- gradle plugin 2.4.0-alpha3
Including AutoValue in android library project (apply plugin: 'com.android.library')
After upgrading to Preview 3, getting error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':marvelpresenter:javaPreCompileRelease'.
> 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.
- auto-value-1.3.jar
Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
See
(The URL is 404)
As instructed in the error message, tried adding
android {
defaultConfig {
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath = true
}
}
}
}
in both application and library build.gradle files, but error persists.
(Shares similarities with ticket