cannot update version for plugin `org.cyclonedx.bom`
memelet opened this issue · 1 comments
I have
plugins {
id "com.github.ben-manes.versions" version "0.27.0"
id "se.patrikerdes.use-latest-versions" version "0.2.13"
id "org.cyclonedx.bom" version "1.1.1"
...
}
Running useLatestVersions then useLatestVersionsCheck I get output
> Task :useLatestVersionsCheck FAILED
useLatestVersions failed to update 1 dependency to the latest version:
- org.cyclonedx:cyclonedx-gradle-plugin [1.1.1 -> 1.1.2]
I ran with --debug but it didn't seem to have anything different for org.cyclonedx.bom
than any other dependency. The messages clearly stated that it found version 1.1.2, but nothing about actually trying to update. All other dependencies are getting updated.
[Edit] Just realised it might be related to #31. If so, forget what I said below.
I have no idea what exactly caused that, but I know that last week I had to update one dependency manually (not this one) after I upgraded to Gradle 6 in order for this plugin to work, so it happens more often. At least you are lucky that it still shows, because for me the plugin just failed completely and I had to check all dependencies one by one.
So, it's probably some change they made in that dependency (if you want to research this problem, try to find that out) - so I'd say just update this one manually and it will probably work for their next update again.