• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

valkyrjaio / project-template-java / 30416239830 / 1
100%
26.x: 100%

Build:
DEFAULT BRANCH: 26.x
Ran 29 Jul 2026 02:14AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jul 2026 02:13AM UTC coverage: 100.0%. Remained the same
30416239830.1

push

github

web-flow
[CI] Declare the SpotBugs and JaCoCo tool versions as dependencies (#26)

# Description

The Java `Update Dependencies` automation reported
`com.github.spotbugs:spotbugs`
and `org.jacoco:org.jacoco.{agent,ant}` as outdated on every run, yet
never
updated them — SpotBugs sat on 4.9.8 and JaCoCo on 0.8.14 indefinitely.

`useLatestVersions` rewrites **dependency notations**. It cannot rewrite
a version
carried by a plugin extension, so `spotbugs { toolVersion.set("4.9.8")
}` and
JaCoCo's implicit plugin default were invisible to it.
`dependencyUpdates` still
resolves both tools (they live in the `spotbugs` / `jacocoAgent` /
`jacocoAnt`
configurations), which is why they were reported as outdated but never
bumped —
reported-but-never-applied, so the drift was silent and unbounded.

Declaring each tool as an explicit dependency in its own configuration
fixes this:
the plugins apply their defaults through `defaultDependencies`, so an
explicit
declaration takes precedence, and the notation is now something
`useLatestVersions` can rewrite. Verified locally — `gradle
useLatestVersions
--refresh-dependencies` produced the 4.10.3 and 0.8.15 numbers in this
PR itself,
and `gradle dependencies` confirms the configurations resolve to exactly
those
versions rather than the plugin defaults.

Depends on
[valkyrjaio/.github#149](https://github.com/valkyrjaio/.github/pull/149),
which adds `--refresh-dependencies` to the same workflows; without it
the
automation resolves stale versions from Gradle's 24-hour dynamic-version
cache.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [X] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`.github/ci/spotbugs/build.gradle... (continued)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on job 30416239830.1
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30416239830
  • 32d23464 on github
  • Prev Job for on 26.x (#30330127378.1)
  • Next Job for on 26.x (#30419578047.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc