-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependencies in installation instructions #5
Comments
Actually, after I added
After deleting the above, my build still works. So in the end, only |
Here are my dependencies.bzl and WORKSPACE files for you to see the end result. |
Appreciate your understanding, getting started instructions could use some tuneup! Yes, Effective visualization of the dependency graph of workspace loading rules would be a useful feature in bazel. |
Sorry, I didn't get that, @pcj. Do we actually need to import |
Hi,
In the README.md it simply says that we need to add
{lang}:deps.bzl
to ourWORKSPACE
file. For example:However, trying to run
java_grpc_compile
after this leads to an error:So then I added
@com_google_protobuf
as a dependency:Now I get a different error:
So I suspected that I'm missing
@com_github_grpc_grpc
, so I added:However, it still gives the error as shown above, so I checked in your
WORKSPACE
file and saw that you had the following two lines to loadgrpc_deps.bzl
, and I copied them into myWORKSPACE
file.Now everything works fine, and the proto files compile. However, I'm worried that I'm doing something wrong/unnecessary above, as you did not put them in your documentation. Thus, my questions are:
WORKSPACE
? Because I thought{lang}:deps.bzl
was going to take care of it. But if it is needed, ...a. Why is it needed? If not, then ...
b. Is there a simpler approach which I should have taken?
The text was updated successfully, but these errors were encountered: