seu-as-code / seu-as-code.plugins

The Gradle plugins for SEU-as-code.
Apache License 2.0
28 stars 9 forks source link

GitClone tasks fails when the target folder exists #58

Open g3force opened 3 years ago

g3force commented 3 years ago

The gitClone task can only be executed successfully, if the target folder does not exist yet.

This is especially annoying, if you want to do a gitCloneAll to clone all (remaining) repositories.

Additionally, if gitClone fails (for example due to an authentication issue), it leaves an empty target folder which lets the task fail on consecutive executions.