aboutsummaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-10-31 11:18:26 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-10-31 11:18:26 +0530
commitff85f751a3fbb43798629aa3d8ec054db14b9feb (patch)
tree7fc04eb121ef33f1b77bd96e684ef559932886c8 /build-logic
parent24d9e492899b0ab156b1e85aeb914ecec6e4e818 (diff)
fix(build-logic): set hook source file path sensitivity to `NONE`
The file path is irrelevant, we only care about the script contents
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/automation-plugins/src/main/kotlin/app/passwordstore/gradle/tasks/GitHooks.kt2
1 files changed, 1 insertions, 1 deletions
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