Skip to content

Commit

Permalink
Add loads for java_proto_library and proto_library (#5)
Browse files Browse the repository at this point in the history
* Add loads for java_proto_library and proto_library

* Add proto dep to MODULE.bazel for proto subproject
  • Loading branch information
ahumesky authored Nov 13, 2024
1 parent 683e1fc commit c56e6c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library")

package(default_visibility = ["//visibility:public"])

java_proto_library(
Expand Down
2 changes: 2 additions & 0 deletions proto/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@protobuf//bazel:proto_library.bzl", "proto_library")

package(default_visibility = ["//visibility:public"])

proto_library(
Expand Down
2 changes: 2 additions & 0 deletions proto/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ module(
name = "bazel_worker_api",
version = "0",
)

bazel_dep(name = "protobuf", version = "27.2")

0 comments on commit c56e6c0

Please sign in to comment.