Added getter for symmetric api that is easier to use by end users
Sometimes users are interested in getting information from tasks.
@@ -34,6 +34,10 @@ public class CloneGitRepositoryTask extends DefaultTask {
this.repository = repository;
}
+ public String getRepository() {
+ return repository;
+ }
+
@OutputDirectory
public void setTargetDir(File targetDir) {
this.targetDir = targetDir;
