Gradle: how to clone a git repo in a task?

后端 未结 5 1564
自闭症患者
自闭症患者 2020-12-08 15:08

Suppose I have a gradle build script and want to write a task to clone a remote git repository. How do I do that?

5条回答
  •  一生所求
    2020-12-08 15:45

    The Gradle-git plugin has a GitClone task that should help. I can't help you on how to use it since I don't know Gradle.

提交回复
热议问题