From b4b1e08d686bf2ad42b36d87f4a355223ab61e8a Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Wed, 16 Oct 2024 07:53:14 -0700 Subject: [PATCH] Fix examples link in Java README Fixes https://github.com/protocolbuffers/protobuf/issues/18836 PiperOrigin-RevId: 686506438 --- cmake/dependencies.cmake | 34 ---------------------------------- java/README.md | 4 ++-- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 cmake/dependencies.cmake diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake deleted file mode 100644 index e806f5dd8a..0000000000 --- a/cmake/dependencies.cmake +++ /dev/null @@ -1,34 +0,0 @@ -# Auto-generated by @//cmake:make_dependencies -# -# This file contains lists of external dependencies based on our Bazel -# config. It should be included from a hand-written CMake file that uses -# them. -# -# Changes to this file will be overwritten based on Bazel definitions. - -if(${CMAKE_VERSION} VERSION_GREATER 3.10 OR ${CMAKE_VERSION} VERSION_EQUAL 3.10) - include_guard() -endif() - -set(abseil-cpp-version "20230802.1") -set(bazel_skylib-version "1.7.0") -set(jsoncpp-version "1.9.5") -set(rules_cc-version "0.0.13") -set(rules_fuzzing-version "0.5.2") -set(rules_java-version "7.11.1") -set(rules_jvm_external-version "6.3") -set(rules_kotlin-version "1.9.6") -set(rules_license-version "1.0.0") -set(rules_pkg-version "1.0.1") -set(rules_python-version "0.28.0") -set(rules_rust-version "0.51.0") -set(platforms-version "0.0.8") -set(zlib-version "1.3.1") -set(bazel_features-version "1.17.0") -set(rules_shell-version "0.2.0") -set(googletest-version "1.14.0") -set(rules_buf-version "0.3.0") -set(rules_testing-version "0.6.0") -set(rules_proto-version "4.0.0") - - diff --git a/java/README.md b/java/README.md index 39b194d23b..d73d97eb10 100644 --- a/java/README.md +++ b/java/README.md @@ -56,8 +56,8 @@ Lite runtime](lite.md). ### Use Java Protocol Buffers with Bazel Bazel has native build rules to work with protobuf. For Java, you can use the -`java_proto_library` rule for server and the `java_lite_proto_library` rule -for Android. Check out [our build files examples](../examples/BUILD) to learn +`java_proto_library` rule for server and the `java_lite_proto_library` rule for +Android. Check out [our build files examples](../examples/BUILD.bazel) to learn how to use them. ## Build from Source