From ff85f751a3fbb43798629aa3d8ec054db14b9feb Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 31 Oct 2022 11:18:26 +0530 Subject: fix(build-logic): set hook source file path sensitivity to `NONE` The file path is irrelevant, we only care about the script contents --- .../src/main/kotlin/app/passwordstore/gradle/tasks/GitHooks.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-logic/automation-plugins/src/main/kotlin') diff --git a/build-logic/automation-plugins/src/main/kotlin/app/passwordstore/gradle/tasks/GitHooks.kt b/build-logic/automation-plugins/src/main/kotlin/app/passwordstore/gradle/tasks/GitHooks.kt index 37fad7ef..3ffb4c71 100644 --- a/build-logic/automation-plugins/src/main/kotlin/app/passwordstore/gradle/tasks/GitHooks.kt +++ b/build-logic/automation-plugins/src/main/kotlin/app/passwordstore/gradle/tasks/GitHooks.kt @@ -26,7 +26,7 @@ import org.gradle.api.tasks.TaskAction @CacheableTask abstract class GitHooks : DefaultTask() { @get:InputFile - @get:PathSensitive(PathSensitivity.RELATIVE) + @get:PathSensitive(PathSensitivity.NONE) abstract val hookSource: RegularFileProperty @get:OutputFile abstract val hookOutput: RegularFileProperty -- cgit v1.2.3