asciidoctor-gradle-plugin icon indicating copy to clipboard operation
asciidoctor-gradle-plugin copied to clipboard

asciidoctorGemsPrepare is UP-TO-DATE even when the version has been updated

Open ggrossetie opened this issue 5 years ago • 3 comments

Consider the following example:

dependencies {
  asciidoctorGems 'rubygems:rouge:3.18.0'
}

If I update the version of Rouge and build again, the task will be UP-TO-DATE:

dependencies {
  asciidoctorGems 'rubygems:rouge:3.19.0'
}

It's not a big deal since the versions do not change very often but it can still cause some confusion.

ggrossetie avatar Jun 10 '20 13:06 ggrossetie

Interesting. That is supposed to work due to https://github.com/jruby-gradle/jruby-gradle-plugin/blob/fe46be32c94033eac6b88ca0e21e15e0e2be1ad3/core-plugin/src/main/groovy/com/github/jrubygradle/api/core/AbstractJRubyPrepare.groovy#L85.

ysb33r avatar Jun 10 '20 13:06 ysb33r

Let me try to create a sample reproduction case, I'm working on a fairly large project so maybe it's related to my particular setup.

ggrossetie avatar Jun 10 '20 13:06 ggrossetie

Confirmed, I can reproduce it with: https://github.com/Mogztter/asciidoctor-gradle-plugin-issue-554

ggrossetie avatar Jun 10 '20 13:06 ggrossetie