I'm working on a java project where bazel is being used. I'm looking to add tink java lib in bazel but looks like com_github_google_tink is not a valid package name.
java_library(
name = "testlib",
srcs = glob(["*.java"]),
deps = [
"@com_github_google_tink",
],
visibility = ["//visibility:public"],
)```
I already referred this article https://developers.google.com/tink/install-tink but it only talks about adding java deps in maven. Can someone help ?
Are you using rules_jvm_external to get the tink dependency?
https://github.com/bazelbuild/rules_jvm_external
If not, you might try adding this or similar to your
WORKSPACEfile:Then you can use the tink dependency from maven in your
BUILD/BUILD.bazelfile like this: