Add dependency on the .git directory to the dokka task

It includes the current HEAD so it needs to be regenerated if the Git
repository changes.

Signed-off-by: Graham <gpe@openrs2.dev>
pull/108/head
Graham 4 years ago
parent 06b1b78952
commit 99a28a842c
  1. 2
      build.gradle.kts

@ -212,6 +212,8 @@ fun commitHash(): String {
}
tasks.dokka {
inputs.dir("$rootDir/.git")
outputDirectory = "$buildDir/kdoc"
outputFormat = "html"

Loading…
Cancel
Save