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

uber / NullAway / #1111 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 23 Jun 2023 12:47AM UTC
Files 80
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

23 Jun 2023 12:47AM UTC coverage: 92.79%. Remained the same
#1111.1

push

github-actions

web-flow
Upgrade maven publish plugin to 0.21.0 and restore publishing (#773)

Without this change, the recent Gradle upgrade (#743) resulted in the
following error while trying to publish to maven central:

```
> Task :jar-infer:jar-infer-cli:publishShadowPublicationToLocalRepository FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':jar-infer:jar-infer-cli:publishShadowPublicationToLocalRepository' (type 'PublishToMavenRepository').
  - Gradle detected a problem with the following location: '/Users/lazaro/Uber/NullAway/jar-infer/jar-infer-cli/build/libs/jar-infer-cli-0.10.11.jar.asc'.
    
    Reason: Task ':jar-infer:jar-infer-cli:publishShadowPublicationToLocalRepository' uses this output of task ':jar-infer:jar-infer-cli:signMavenPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':jar-infer:jar-infer-cli:signMavenPublication' as an input of ':jar-infer:jar-infer-cli:publishShadowPublicationToLocalRepository'.
      2. Declare an explicit dependency on ':jar-infer:jar-infer-cli:signMavenPublication' from ':jar-infer:jar-infer-cli:publishShadowPublicationToLocalRepository' using Task#dependsOn.
      3. Declare an explicit dependency on ':jar-infer:jar-infer-cli:signMavenPublication' from ':jar-infer:jar-infer-cli:publishShadowPublicationToLocalRepository' using Task#mustRunAfter.
```

This change fixes that issue and also upgrades
`com.vanniktech:gradle-maven-publish-plugin` to 0.21.0, the latest
compatible version (versions from 0.23.0 onwards don't seem to be
compatible with JDK8, and 0.22.0 gives a separate error).

Long term, we need to update the CI testing flow for publishing we added
in #768 to also cover jar signing workflows.

5611 of 6047 relevant lines covered (92.79%)

0.93 hits per line

Source Files on job #1111.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1111
  • 2bfe8236 on github
  • Prev Job for on master (##1106.1)
  • Next Job for on master (##1112.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc