-
Notifications
You must be signed in to change notification settings - Fork 356
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
Add Annotation File Utilities as an included build. #3332
Conversation
settings.gradle
Outdated
@@ -6,4 +6,10 @@ include 'framework' | |||
include 'checker-qual' | |||
include 'checker-qual-android' | |||
include 'framework-test' | |||
|
|||
includeBuild ('../annotation-tools/annotation-file-utilities'){ | |||
if(!file('../annotation-tools/annotation-file-utilities').exists()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spacing
framework/build.gradle
Outdated
|
||
// TODO: The annotated version of Guava gives an error: | ||
// org.checkerframework.annotatedlib/guava/.../guava-28.2-jre.jar(/com/google/common/collect/ImmutableCollection.class): | ||
// warning: Cannot find annotation method 'value()' in type 'DoNotMock': class file for com.google.errorprone.annotations.DoNotMock not found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be a bug in how the annotated version of Guava was made. I don't understand it yet.
In the meanwhile, can you try the workaround used in AFU, which is to add a dependency on error_prone_annotations
?
Before this change it was possible to use dependencies of AFU without specifying them in the build files.