diff --git a/WORKSPACE b/WORKSPACE
index 4e261d5aa6..8f9e57e6ce 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -55,18 +55,17 @@ rules_jvm_external_setup()
load("@com_google_protobuf//:protobuf_deps.bzl", "PROTOBUF_MAVEN_ARTIFACTS", "protobuf_deps")
load("@rules_jvm_external//:defs.bzl", "maven_install")
-maven_install(
- artifacts = PROTOBUF_MAVEN_ARTIFACTS,
- repositories = ["https://repo.maven.apache.org/maven2/"],
-)
+load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_ARTIFACTS")
+load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS")
_gapic_generator_java_version = "2.42.1-SNAPSHOT" # {x-version-update:gapic-generator-java:current}
maven_install(
artifacts = [
"com.google.api:gapic-generator-java:" + _gapic_generator_java_version,
- ],
+ ] + PROTOBUF_MAVEN_ARTIFACTS + IO_GRPC_GRPC_JAVA_ARTIFACTS,
fail_on_missing_checksum = False,
+ override_targets = IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS,
repositories = [
"m2Local",
"https://repo.maven.apache.org/maven2/",
@@ -98,6 +97,10 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories")
grpc_java_repositories()
+load("@envoy_api//bazel:repositories.bzl", "api_dependencies")
+
+api_dependencies()
+
_disco_to_proto3_converter_commit = "ce8d8732120cdfb5bf4847c3238b5be8acde87e3"
http_archive(
diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml
index 7a2746a9e8..c34890443d 100644
--- a/gapic-generator-java-pom-parent/pom.xml
+++ b/gapic-generator-java-pom-parent/pom.xml
@@ -26,7 +26,7 @@
1.3.2
- 1.62.2
+ 1.65.0
1.24.0
1.44.2
2.11.0
diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties
index 4a22a18147..2e3465b184 100644
--- a/gax-java/dependencies.properties
+++ b/gax-java/dependencies.properties
@@ -28,7 +28,7 @@ version.gax_httpjson=2.50.1-SNAPSHOT
version.com_google_protobuf=3.25.3
version.google_java_format=1.15.0
-version.io_grpc=1.62.2
+version.io_grpc=1.65.0
# Maven artifacts.
# Note, the actual name of each property matters (bazel build scripts depend on it).