-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add a Build.Input.Apps options #154
Comments
Howdy, I wonder if the shared project is also build by baur. If the shared project is not build by baur, it sounds like it could be achieved with an include file. |
The dependencies are made thanks to gradle with a simple The problem is, my I have quite a lot of inter-dependencies inside my mono-repo.
It's what I have now. But it's very verbose and it doesn't look like anything anymore. What I'm proposing could correct that : trigger builds after the hooked apps did build and allow retrieving the baur output (complicated) or just watch the same inputs than the given apps and so let the user handle inter-dependencies (maybe less complicated ?). |
Yes, I understand, having to manage a lot of input definitions and includes can become quite complex and also error-prone. Another solution could be to have a build input resolver, similar to I would like to avoid implementing dependencies/triggers between apps. It would increase the complexity a lot, there are other build tools that follow a related approach like plz, bazel, pants and internally we currently do not have a need for it. |
In fact, as I said, Gradle handles dependencies by itself. So in my case To be honest, I don't really look at how the
I totally understand. Baur manage mono-repo not dependencies, it's belong to the user-stuff here |
@scorsi
That I did not had in mind at all, invoking baur from baur to get the build inputs of another app this way would also solve it. Cool idea :-) I'll explain how builds + Input Resolver worksfor Golang, then the idea might be more clear: Golang has the command I wonder if a similar approach is possible with Java+Gradle:
|
I think it doesn't. In Maven/Gradle you build every files presents in your It's better using
Gradle already use caches for every dependencies downloaded, presents in the For the inter-dependencies, it works differently, each project has a In short, looking to the |
Hello,
It's could be cool to refer to another app without specifying its own used path. I think example is better than talking.
The shared app:
The depending app:
Instead of:
So when the
BuildInput.GitFiles
(and every otherBuildInput.x
of course) of theshared
project will change, it will build theshared
app and after thatmy-service
app.I'm not talking about managing dependencies, but look that feature like a trigger which
my-service
hook on theshared
app. Ifshared
app did change, others hooked apps too.I don't know how easy it can be done in your codebase or if it can be done.
Thanks,
The text was updated successfully, but these errors were encountered: