-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…767) A recent upgrade to our gradle version (#762) silently broke our publishing flows. In particular, `publish` and `publishToMavenLocal` are broken on Java 8, resulting in the following error: ``` Execution failed for task ':annotations:publishMavenPublicationToMavenLocal'. > Failed to publish publication 'maven' to repository 'mavenLocal' > Invalid publication 'maven': artifact file does not exist: '/home/runner/work/NullAway/NullAway/annotations/build/publications/maven/module.json.asc' ``` See this [CI job run](https://github.com/uber/NullAway/actions/runs/5261437721/jobs/9509542067?pr=767). There are further errors when the release is signed. Below, we revert the gradle upgrade, and also add a CI job running `publishToMavenLocal` to prevent future regressions (We can't trivially test signing these publications in a secure manner, unfortunately, so we skip that for now. If that specifically breaks in the future, we could provide a test gpg key for signing in CI).
- Loading branch information
1 parent
d09ff9b
commit 1ff88b6
Showing
4 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionSha256Sum=e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip | ||
distributionSha256Sum=ff7bf6a86f09b9b2c40bb8f48b25fc19cf2b2664fd1d220cd7ab833ec758d0d7 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters