alexvasilkov / alexvasilkov/GradleGitDependenciesPlugin

Faster Git clones

Abierto
#34 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Groovy
Estrellas
109
Forks
15
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.