Open marcphilipp opened 3 years ago
While working on the JUnit 5 build, I noticed that secondary inputs are no longer tracked.
./gradlew asciidoctor
asciidoctor-secondary-sources
src/docs/asciidoc/subdir/include.adoc
The task is reported as up-to-date but should have been rerun.
I added some diagnostic output to the task that shows the problem. For some reason the secondary inputs are empty on 3.3.1 and 3.3.2.
With 3.3.0 the task prints:
> Task :asciidoctor [/Users/marc/Repositories/gradle/sandbox/asciidoctor-secondary-sources/src/docs/asciidoc/subdir/index.adoc] [/Users/marc/Repositories/gradle/sandbox/asciidoctor-secondary-sources/src/docs/asciidoc/subdir/include.adoc]
With 3.3.1 and 3.3.2 it prints:
> Task :asciidoctor [/Users/marc/Repositories/gradle/sandbox/asciidoctor-secondary-sources/src/docs/asciidoc/subdir/index.adoc] []
Please try 4.0.0-alpha.1 and tell me if the problem still exists
I just updated the above reproducer project and it seems the issue still exists with 4.0.0-alpha.1.
OK thanks. I'll have a look into that.
While working on the JUnit 5 build, I noticed that secondary inputs are no longer tracked.
Steps to reproduce
./gradlew asciidoctor
inasciidoctor-secondary-sources
src/docs/asciidoc/subdir/include.adoc
./gradlew asciidoctor
againThe task is reported as up-to-date but should have been rerun.
Analysis
I added some diagnostic output to the task that shows the problem. For some reason the secondary inputs are empty on 3.3.1 and 3.3.2.
With 3.3.0 the task prints:
With 3.3.1 and 3.3.2 it prints: