Skip to content

Commit

Permalink
Bump error prone version to 2.3.5-SNAPSHOT
Browse files Browse the repository at this point in the history
Fixes: #11272.

This change updates error prone to 2.3.5 SNAPSHOT and includes demotion
of breaking changes to warning severity: ExtendsAutoValue and
RefersToDaggerCodegen. Given that Bazel EP integration does not activate
warning checks, this upgrade is backwards compatible and must not be
protected with new --incompatible_use_error_prone_2.3.5_version option.

Additional library is needed: threeten-extra-1.5.0.
  • Loading branch information
davido committed May 27, 2020
1 parent 90b1734 commit 870a19b
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 10 deletions.
22 changes: 15 additions & 7 deletions third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -330,20 +330,27 @@ java_import(
srcjar = "hungarian_algorithm/software-and-algorithms-1.0-src.jar",
)

java_import(
name = "threeten",
jars = [
"error_prone/threeten-extra-1.5.0.jar",
],
)

java_import(
name = "error_prone_annotations",
jars = [
"error_prone/error_prone_annotations-2.3.4.jar",
"error_prone/error_prone_type_annotations-2.3.4.jar",
"error_prone/error_prone_annotations-2.3.5-SNAPSHOT.jar",
"error_prone/error_prone_type_annotations-2.3.5-SNAPSHOT.jar",
],
)

java_import(
name = "error_prone",
jars = [
"error_prone/error_prone_annotation-2.3.4.jar",
"error_prone/error_prone_check_api-2.3.4.jar",
"error_prone/error_prone_core-2.3.4.jar",
"error_prone/error_prone_annotation-2.3.5-SNAPSHOT.jar",
"error_prone/error_prone_check_api-2.3.5-SNAPSHOT.jar",
"error_prone/error_prone_core-2.3.5-SNAPSHOT.jar",
],
exports = [
":error_prone_annotations",
Expand All @@ -356,6 +363,7 @@ java_import(
":jcip_annotations",
":jsr305",
":pcollections",
":threeten",
"//third_party/checker_framework_dataflow",
"//third_party/jformatstring",
],
Expand Down Expand Up @@ -397,8 +405,8 @@ java_import(
filegroup(
name = "bootstrap_guava_and_error_prone-jars",
srcs = [
"error_prone/error_prone_annotations-2.3.4.jar",
"error_prone/error_prone_annotations-2.2.0.jar",
"error_prone/error_prone_annotations-2.3.5-SNAPSHOT.jar",
"error_prone/threeten-extra-1.5.0.jar",
":guava-jars",
":jcip_annotations-jars",
":jsr305-jars",
Expand Down
6 changes: 3 additions & 3 deletions third_party/checker_framework_dataflow/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ filegroup(

java_import(
name = "checker_framework_dataflow",
jars = ["dataflow-3.2.0.jar"],
srcjar = "dataflow-3.2.0-sources.jar",
jars = ["dataflow-shaded-3.1.2.jar"],
srcjar = "dataflow-shaded-3.1.2-sources.jar",
deps = [
"//third_party/checker_framework_javacutil",
],
)

filegroup(
name = "bootstrap",
srcs = ["dataflow-3.2.0.jar"],
srcs = ["dataflow-shaded-3.1.2.jar"],
)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed third_party/error_prone/error_prone_core-2.3.4.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added third_party/error_prone/threeten-extra-1.5.0.jar
Binary file not shown.

0 comments on commit 870a19b

Please sign in to comment.