asciidoctor / asciidoctor-gradle-plugin

A Gradle plugin that uses Asciidoctor via JRuby to process AsciiDoc source files within the project.
https://asciidoctor.github.io/asciidoctor-gradle-plugin/
Apache License 2.0
283 stars 120 forks source link

Regression with missing task dependency for additional configurations #721

Open Vampire opened 4 months ago

Vampire commented 4 months ago

In the Spock build at https://github.com/spockframework/spock/blob/6a82943887b9bfb7585aa42fc3879e5392b9515d/build.gradle#L380 we configure a custom configuration with extensions. These extensions are coming from an included build.

While using version 3.3.2 of this plugin, the extensions were automatically built. Now with 4.0.2 those task dependencies are missing and it uses a stale version if any is already built.

To reproduce / test, just check out that commit and execute the asciidoctor task. Then change back to 3.3.2 and do it again. You will see that with 3.3.2 the extension is built, while with 4.0.2 it is not.