-
Notifications
You must be signed in to change notification settings - Fork 50
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
SpringBoot rule should pull through deps and runtime_deps from java_library #31
Comments
should the springboot rule also exposes only runtime_deps instead of deps? |
@yishanhe are you consuming the output of springboot rule somehow in other java_* rules? for us, the springboot rule is always a terminal node in the dependency graph, aside from docker rules. Since the springboot rule outputs a self-contained jar with all the dependencies contained within, I don't think there is a use case where it needs to expose deps or runtime_deps to downstream rules? |
@plaird , Thank you for your explanation, and it is great to see this one gets improved. A follow-up question, would it be clear if we put the deps in this way
Thanks |
Yes, I can add the comment to the example, that will make it more clear. Thanks for the feedback. |
Given my base lib definition here:
I have to construct the deps attribute for my springboot rule invocation like this:
I shouldn't have to provide the deps or runtime_deps in the deps attribute, the rule should do that automatically.
The text was updated successfully, but these errors were encountered: