fix(build-logic): set hook source file path sensitivity to NONE

The file path is irrelevant, we only care about the script contents
This commit is contained in:
Harsh Shandilya 2022-10-31 11:18:26 +05:30
parent 24d9e49289
commit ff85f751a3
No known key found for this signature in database

View file

@ -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