Trying to write a gradle git checkout task. Don't know which plugin is used for git in gradle and how to write the checkout task.
Asked
Active
Viewed 466 times
1 Answers
0
You could use a project.tasks.create
directive, as in this answer, although I would now use git switch instead of checkout.
Or you can use grgit/grgit-gradle
, which uses GrGit (and that includes checkout)

VonC
- 1,262,500
- 529
- 4,410
- 5,250