By &quot;a way to force invalidation of that cache&quot; I didn&#x27;t mean automatic invalidation, I meant a way to flag that you want it to re-download dependencies and store them for later use.  I&#x27;m not sure where you got the requirement that it needs to automatically determined by a computer from my comment.  I was thinking the &quot;cache&quot; could be as simple as the person setting up the build environment downloading the dependencies and configuring the build to use them.  That&#x27;s a local cache, when discussing automatic downloading of dependencies during building.<p>Set up your build environment with whatever manual intervention is required so that it can run without downloading remote resources.  Build as needed.  There is no reason for, and many reasons against, downloading dependencies during the build process, but that doesn&#x27;t necessitate duplicating those dependencies within your own source tree. As long as there are directions on how to download a specific, definitive version of the dependency, whether that is automated or not isn&#x27;t really a big deal if it&#x27;s done infrequently.