alexvasilkov / alexvasilkov/GradleGitDependenciesPlugin

Faster Git clones

Open
#34 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
109
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I arrived at using this plugin when I needed to obtain (and inject builds into) source dependencies from GitHub in a Gradle project. Like others I found that Gradle's built-in source dependencies feature did not support Git authentication, which was a deal-breaker for me.

One problem I have found is that when this plugin clones large Git repositories it takes a very long time. (If you run Gradle using the IntelliJ runner it can also result in an out of memory exception.)

My intuition is that it might be doing a full checkout. This might not be necessary for the plugin to do its thing. Would it be possible to optimise this with something like Git shallow clones to make the cloning step go faster?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.