Skip to content

Commit

Permalink
Fix: Cache mismatch when absolute Path differ
Browse files Browse the repository at this point in the history
Set a propertyName and pathSensitivity to RELATIVE for asciidoc-Task Inputs
  • Loading branch information
lschwahn committed Dec 13, 2024
1 parent 74cf0c2 commit 3c12968
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,11 @@ class AbstractAsciidoctorTask extends AbstractJvmModelExecTask<AsciidoctorJvmExe
}.curry(project.configurations) as Function<List<Dependency>, Configuration>

inputs.files(this.asciidoctorj.configuration)
inputs.files { gemJarProviders }.withPathSensitivity(RELATIVE)
.withPathSensitivity(RELATIVE)
.withPropertyName('asciidoctorj-dependencies')
inputs.files { gemJarProviders }
.withPathSensitivity(RELATIVE)
.withPropertyName('gemJarProviders')
inputs.property 'backends', { -> backends() }
inputs.property 'asciidoctorj-version', { -> asciidoctorj.version }
inputs.property 'jruby-version', { -> asciidoctorj.jrubyVersion ?: '' }
Expand Down

0 comments on commit 3c12968

Please sign in to comment.