-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
publishLocal
should be cached (publishLocalCached
)
#2975
Comments
The main use case which will be enabled with this feature, would be the local provision of some dependencies, which are consumed via coursier, but are not remotely available. This is often the case when OSGi bundles of thirdparty dependencies are needed but not available. Without this feature, a dedicated provision step needs to be run now and then. But adding it the the dependencies is too costly, due to the fact that |
publishLocal
can be cachedpublishLocal
can be cached (publishLocalCached
)
publishLocal
can be cached (publishLocalCached
)publishLocal
should be cached (publishLocalCached
)
Since
publishLocal
is local, it can be cached. WithPathRef.revalidate
Mill can detect, whether a cached target pointing to files outside of it's cache region is still valid. For that to work, all published files need to be returned asPathRef
with enabled revalidation flag.This would be a binary incompatible change, hence a intermediate API like
publishLocalCached
could be added.The text was updated successfully, but these errors were encountered: