public interface SCMCommand
| Modifier and Type | Method and Description |
|---|---|
me.cmoz.gradle.snapshot.Commit |
getLatestCommit(java.lang.String dateFormat)
Analyses the latest commit in the SCM repository and returns it's
information as an
Commit. |
java.io.File |
getRepositoryDir()
Returns a
File of the directory for the repository of the SCM
tool. |
@Nullable java.io.File getRepositoryDir()
File of the directory for the repository of the SCM
tool.null if no
SCM directory could be found.me.cmoz.gradle.snapshot.Commit getLatestCommit(java.lang.String dateFormat)
Commit.dateFormat - The format of the dates in the commit.Commit reported by the SCM for most recent commit
information.