Fixed gitIsDirty task.

This commit is contained in:
Erik C. Thauvin 2018-06-25 15:13:24 -07:00
parent 06fb8d5f9c
commit 22f936ed7a

View file

@ -107,7 +107,7 @@ tasks {
val gitIsDirty by creating(Exec::class) { val gitIsDirty by creating(Exec::class) {
description = "Fails if git has uncommitted changes." description = "Fails if git has uncommitted changes."
group = PublishingPlugin.PUBLISH_TASK_GROUP group = PublishingPlugin.PUBLISH_TASK_GROUP
commandLine("git", "diff-index", "--quiet", "--HEAD", "--") commandLine("git", "diff-index", "--quiet", "HEAD", "--")
} }
val gitTag by creating(Exec::class) { val gitTag by creating(Exec::class) {