Skip to content

Commit

Permalink
Use an alias for third_party/java/jspecify_annotations instead of…
Browse files Browse the repository at this point in the history
… a `java_library` that exports one dependency. This may make certain usages better.

PiperOrigin-RevId: 698492815
  • Loading branch information
netdpb authored and Google Java Core Libraries committed Nov 20, 2024
1 parent ebce2af commit a7761f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions third_party/java/jspecify_annotations/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@

# BUILD rules for https://jspecify.dev/

load("@rules_java//java:defs.bzl", "java_library")

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

java_library(
alias(
name = "jspecify_annotations",
exports = ["@google_bazel_common_maven//:org_jspecify_jspecify"],
actual = "@google_bazel_common_maven//:org_jspecify_jspecify",
)

0 comments on commit a7761f9

Please sign in to comment.