Skip to content

Commit 86de2f5

Browse files
committed
build: Update dependency versions
1 parent 9657a8e commit 86de2f5

File tree

11 files changed

+3850
-34
lines changed

11 files changed

+3850
-34
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
7.4.1

BUILD.bazel

Whitespace-only changes.

MODULE.bazel

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,66 +3,82 @@ module(
33
repo_name = "wfa_virtual_people_common",
44
)
55

6-
TRUTH_VERSION = "1.1.2"
7-
8-
MAVEN_REPO_NAME = "vpc_maven"
6+
TRUTH_VERSION = "1.4.4"
97

108
# Bazel Central Registry modules.
119
bazel_dep(
12-
name = "rules_proto",
13-
version = "5.3.0-21.7",
10+
name = "rules_cc",
11+
version = "0.0.17",
1412
)
1513
bazel_dep(
1614
name = "protobuf",
17-
version = "21.7",
15+
version = "27.3",
1816
repo_name = "com_google_protobuf",
1917
)
20-
bazel_dep(
21-
name = "rules_cc",
22-
version = "0.0.9",
23-
)
2418
bazel_dep(
2519
name = "abseil-cpp",
26-
version = "20230802.0.bcr.1",
20+
version = "20240722.0.bcr.2",
2721
repo_name = "com_google_absl",
2822
)
2923
bazel_dep(
3024
name = "googletest",
31-
version = "1.14.0.bcr.1",
25+
version = "1.15.2",
3226
repo_name = "com_google_googletest",
3327
)
3428
bazel_dep(
3529
name = "rules_java",
36-
version = "7.2.0",
30+
version = "8.6.2",
3731
)
3832
bazel_dep(
3933
name = "rules_jvm_external",
40-
version = "5.3",
34+
version = "6.6",
4135
)
4236

4337
# WFA registry modules.
4438
bazel_dep(
4539
name = "common-cpp",
46-
version = "0.11.0",
40+
version = "0.13.0",
4741
repo_name = "wfa_common_cpp",
4842
)
4943
bazel_dep(
5044
name = "rules_kotlin_jvm",
51-
version = "0.1.1",
45+
version = "0.5.0",
5246
repo_name = "wfa_rules_kotlin_jvm",
5347
)
5448

5549
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
50+
maven.artifact(
51+
testonly = True,
52+
artifact = "truth",
53+
group = "com.google.truth",
54+
version = TRUTH_VERSION,
55+
)
56+
maven.artifact(
57+
testonly = True,
58+
artifact = "truth-java8-extension",
59+
group = "com.google.truth.extensions",
60+
version = TRUTH_VERSION,
61+
)
62+
maven.artifact(
63+
testonly = True,
64+
artifact = "truth-proto-extension",
65+
group = "com.google.truth.extensions",
66+
version = TRUTH_VERSION,
67+
)
68+
maven.artifact(
69+
testonly = True,
70+
artifact = "truth-liteproto-extension",
71+
group = "com.google.truth.extensions",
72+
version = TRUTH_VERSION,
73+
)
5674
maven.install(
57-
name = MAVEN_REPO_NAME,
5875
artifacts = [
5976
"junit:junit:4.13.2",
60-
"com.google.truth:truth:" + TRUTH_VERSION,
61-
"com.google.truth.extensions:truth-java8-extension:" + TRUTH_VERSION,
62-
"com.google.truth.extensions:truth-proto-extension:" + TRUTH_VERSION,
63-
"com.google.truth.extensions:truth-liteproto-extension:" + TRUTH_VERSION,
6477
],
65-
fetch_sources = True, # For IDE integration.
78+
fail_if_repin_required = True,
79+
fetch_sources = True, # For IDE support.
80+
lock_file = "//:maven_install.json",
81+
resolver = "maven",
6682
strict_visibility = True,
6783
)
68-
use_repo(maven, MAVEN_REPO_NAME)
84+
use_repo(maven, "maven")

MODULE.bazel.lock

Lines changed: 2815 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

WORKSPACE

Lines changed: 0 additions & 1 deletion
This file was deleted.

imports/com/google/common/truth/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ package(default_visibility = ["//visibility:public"])
44

55
java_library(
66
name = "truth",
7+
testonly = True,
78
exports = [
8-
"@vpc_maven//:com_google_truth_extensions_truth_java8_extension",
9-
"@vpc_maven//:com_google_truth_truth",
9+
"@maven//:com_google_truth_extensions_truth_java8_extension",
10+
"@maven//:com_google_truth_truth",
1011
],
1112
)

imports/com/google/common/truth/extensions/proto/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ package(default_visibility = ["//visibility:public"])
44

55
java_library(
66
name = "proto",
7+
testonly = True,
78
exports = [
8-
"@vpc_maven//:com_google_truth_extensions_truth_liteproto_extension",
9-
"@vpc_maven//:com_google_truth_extensions_truth_proto_extension",
9+
"@maven//:com_google_truth_extensions_truth_liteproto_extension",
10+
"@maven//:com_google_truth_extensions_truth_proto_extension",
1011
],
1112
)

imports/org/junit/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package(default_visibility = ["//visibility:public"])
22

33
alias(
44
name = "junit",
5-
actual = "@vpc_maven//:junit_junit",
5+
actual = "@maven//:junit_junit",
66
)

0 commit comments

Comments
 (0)