-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Animal-sniffer-annotation 1.18 #6488
Conversation
bazel dep needs to be updated, see repositories.bzl. nit: please update comments mentioning the old version
|
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.
@creamsoup Thank you for checking. Updated bzl file.
api/build.gradle
Outdated
@@ -20,7 +20,7 @@ dependencies { | |||
exclude group: 'com.google.errorprone', module: 'error_prone_annotations' | |||
// prefer 3.0.2 from libraries instead of 3.0.1 | |||
exclude group: 'com.google.code.findbugs', module: 'jsr305' | |||
// prefer 1.17 from libraries instead of 1.14 | |||
// prefer our own version from libraries instead of Guava's dependency |
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.
Guava 28.1 has dependency animal-sniffer-annotation 1.18, not 1.14. The old comment was outdated; it must have been hard to maintain the comment precisely by reading the Guava's pom.xml.
@creamsoup I updated this comment in more generic way, and now I feel these comments "prefer XXX from libraries instead of YYY" are hard to maintain and also my "prefer our own version from libraries instead of Guava's dependency" looks unnecessary. Don't you think we should remove these comments?
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.
yeah it is hard to maintain, i like your new comment (or no comment is also good enough).
i am going to make the cleanup PR. thanks for the suggestion!
server_urls = ["http://central.maven.org/maven2"], | ||
artifact_sha256 = "92654f493ecfec52082e76354f0ebf87648dc3d5cec2e3c3cdb947c016747a53", | ||
artifact_sha256 = "47f05852b48ee9baefef80fa3d8cea60efa4753c0013121dd7fe5eef2e5c729d", |
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.
suztomo-macbookpro44:grpc-java suztomo$ shasum -a 256 ~/Downloads/animal-sniffer-annotations-1.18.jar
47f05852b48ee9baefef80fa3d8cea60efa4753c0013121dd7fe5eef2e5c729d /Users/suztomo/Downloads/animal-sniffer-annotations-1.18.jar
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.
LGTM
Updated the comments to one generic comment for the occurrences of animal-sniffer-annotations exclusions. |
@@ -16,11 +16,9 @@ dependencies { | |||
libraries.jsr305, | |||
libraries.animalsniffer_annotations | |||
compile (libraries.guava) { | |||
// prefer 2.3.3 from libraries instead of 2.1.3 |
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 comment has been outdated; Guava 28.1 uses error_prone_annotations:2.3.2
.
exclude group: 'com.google.errorprone', module: 'error_prone_annotations' | ||
// prefer 3.0.2 from libraries instead of 3.0.1 |
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 comment has been outdated; Guava 28.1 uses jsr305:3.0.2
.
Created another PR that for files that are irrelevant to animal-sniffer-annotations. |
merged, thanks @suztomo! |
Thank you. |
Upgrading animal-sniffer-annotation to the latest 1.18.
There was a problem in upperBoundCheck in google-cloud-firestore: googleapis/java-firestore#34.