Maintained by aalmiray
A simple task for cloning Git repos.
Website | https://github.com/palominolabs/gradle-git-clone-task |
---|---|
Author | marshallpierce |
Version | 0.0.2 |
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.palominolabs.gradle.task:gradle-git-clone-task:0.0.2' } } task cloneSomeRepo(type: com.palominolabs.gradle.task.git.clone.GitCloneTask) { dir = file("$buildDir/some-repo") uri = 'git@github.com:palominolabs/gradle-git-clone-task-demo-repo.git' treeish = 'v2' // a git hash, or tag name, or branch name }