Missing dependency updates
See original GitHub issueOverview
-
Gradle
6.7
, JDK11.0.9
, Plugin version:0.34.0
-
Plugin configuration:
apply plugin: "com.github.ben-manes.versions"
def isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }
def regex = /^[0-9,.v-]+(-r)?$/
return !stableKeyword && !(version ==~ regex)
}
dependencyUpdates {
rejectVersionIf {
isNonStable(it.candidate.version)
}
}
Problem
- Running via Github Actions:
./gradlew --build-cache --configure-on-demand --no-daemon --parallel -x test -x javadoc \
dependencyUpdates -Drevision=release -DgradleReleaseChannel=current
Report indicates:
The following dependen***es are using the latest release version:
...
...
2020-11-03T07:44:53.2681454Z - io.micrometer:micrometer-core:1.5.1
2020-11-03T07:44:53.2682363Z - io.micrometer:micrometer-registry-atlas:1.5.1
2020-11-03T07:44:53.2683198Z - io.micrometer:micrometer-registry-cloudwatch:1.5.1
2020-11-03T07:44:53.2684049Z - io.micrometer:micrometer-registry-ganglia:1.5.1
2020-11-03T07:44:53.2685024Z - io.micrometer:micrometer-registry-graphite:1.5.1
2020-11-03T07:44:53.2686155Z - io.micrometer:micrometer-registry-influx:1.5.1
2020-11-03T07:44:53.2687129Z - io.micrometer:micrometer-registry-jmx:1.5.1
2020-11-03T07:44:53.2687934Z - io.micrometer:micrometer-registry-new-relic:1.5.1
2020-11-03T07:44:53.2688932Z - io.micrometer:micrometer-registry-prometheus:1.5.1
2020-11-03T07:44:53.2689719Z - io.micrometer:micrometer-registry-signalfx:1.5.1
2020-11-03T07:44:53.2690510Z - io.micrometer:micrometer-registry-statsd:1.5.1
2020-11-03T07:44:53.2691281Z - io.micrometer:micrometer-registry-wavefront:1.5.1
However, the latest available version is: 1.6.0.
Is this an issue with the plugin that it’s missing dependency updates, or could there be something wrong with the plugin configuration or the way it’s run?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to fix missing dependency warning when using useEffect ...
So first you must memoize fetchBusinesses if you were to pass it to the dependency array.
Read more >Cannot update/modify/repair because of a missing dependency
When I'd like to update/modify/repair the installation of Visual Studio 2017 v15.9.8 I'm getting the following dependecy error: https://i.imgur.com/EK6p3ex.
Read more >missing dependency update · Discussion #12997 - GitHub
I just want to make sure that the other dependency won't be missed next time since it results in an uppserbounddependency error when...
Read more >Missing dependency when trying to update - Super User
1 Answer 1 ... The nss update depends on an nspr update that hasn't made it into the updates repository yet. You can...
Read more >Missing dependency on Update Manager [#3109705] - Drupal
I noticed that the module requires update manager, both /metrics and the configuration page have fatal errors without the update manager module ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can use either the taskGraph or startParameter as conditions to check and skip your enforcement logic. This is in our issues a few times, e.g. see examples in https://github.com/ben-manes/gradle-versions-plugin/issues/361
startParameter.taskName
seems like a good solution. Thanks very much!