Does anyone have any information on how to use Git as a local ivy
repository or cache?

I would like to be able to use Git as a local repository, and if the
artefact is not there, then go to the next resolver as normal.

However, I would like it so that if an artefact is retrieved elsewhere
that the artefact is added into the local Git repository.

This is akin to replacing the Gradle cache file with a Git repository
with automatic commits to Git for NEW artefacts or version, and an
error or confirmation should a REPLACEMENT jar be available for a
particular version of a jar already downloaded.

The advantage of this setup would be that any changes to artefacts
would be tracked should things change and the confirmation would allow
the user to be aware that things might break due to the replacement
artefact.

I have had on a couple of occasions externally sourced maven
dependencies that have just changed. Ie version 1.1 has been
re-released, different jar contents but reusing the same jar version.

In maven this is a real issue, as anyone who has the old version in
their repository builds against one version of the dependency, and new
developers to the project get a different version.

Is git a good way to achieve this and can it be integrated into gradle?

Regards,

Mike

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to