-
Notifications
You must be signed in to change notification settings - Fork 330
Update Error Prone and EP plugin #1486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,13 +9,13 @@ google-java-format = "1.34.1" | |
| android-gradle-plugin = "8.13.0" | ||
| gradle-maven-publish-plugin = "0.34.0" | ||
| spotless = "8.2.1" | ||
| errorprone-plugin = "5.0.0" | ||
| errorprone-plugin = "5.1.0" | ||
| shadow = "8.3.8" | ||
| jmh = "0.7.3" | ||
| versions-plugin = "0.53.0" | ||
| shellcheck = "1.5.0" | ||
|
|
||
| errorProne = "2.47.0" | ||
| errorProne = "2.48.0" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify Error Prone 2.48.0 exists on Maven Central and check release notes
# Check if version exists on Maven Central
echo "=== Checking Maven Central for Error Prone 2.48.0 ==="
curl -s "https://search.maven.org/solrsearch/select?q=g:com.google.errorprone+AND+a:error_prone_core+AND+v:2.48.0&rows=1&wt=json" | jq '.response.numFound'
echo -e "\n=== Recent Error Prone releases from GitHub ==="
curl -s "https://api.github.com/repos/google/error-prone/releases" | jq -r '.[0:10] | .[] | "\(.tag_name): \(.published_at)"'
echo -e "\n=== Checking for v2.48.0 release details ==="
curl -s "https://api.github.com/repos/google/error-prone/releases/tags/v2.48.0" | jq '{tag_name, name, published_at, body}' 2>/dev/null || echo "Version v2.48.0 not found"Repository: uber/NullAway Length of output: 1130 Error Prone 2.48.0 is not yet available on Maven Central. The version has been released on GitHub (Feb 27, 2026) but is not yet indexed on Maven Central (returns 0 results). The build will fail due to dependency resolution failure. Wait for Maven Central synchronization or use an alternative version. Note: The release includes new checks ( 🤖 Prompt for AI Agents |
||
| errorProneJdk17 = "2.42.0" | ||
| errorProneOldest = "2.36.0" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
net.ltgt.errorprone Gradle plugin version 5.1.0💡 Result:
net.ltgt.errorproneGradle plugin version 5.1.0 is published on the Gradle Plugin Portal and is currently listed as latest (created February 28, 2026). [1]Apply with plugins DSL:
[1]
Artifact coordinate (for convention plugins / buildscript classpath):
implementation("net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin:5.1.0")[1]
Minimum requirements (per project README): at least Gradle 6.8, and JDK 11 for compilation. [2]
Sources: [1] [2]
🌐 Web query:
Error Prone library version 2.48.0 Maven Central💡 Result:
com.google.errorproneversion 2.48.0 is not present on Maven Central (as of Feb 28, 2026). The Maven Central directory listing forerror_prone_coreshows releases up through 2.47.0 (released Feb 5, 2026) and does not include 2.48.0. [1] MvnRepository also lists 2.47.0 as the latesterror_prone_coreversion on Central. [2]If you meant the latest available on Central, use 2.47.0 (example):
[1] https://repo1.maven.org/maven2/com/google/errorprone/error_prone_core/
[2] https://mvnrepository.com/artifact/com.google.errorprone/error_prone_core
🏁 Script executed:
Repository: uber/NullAway
Length of output: 190
Plugin version 5.1.0 exists and is correct. The
net.ltgt.errorproneplugin version 5.1.0 is published on the Gradle Plugin Portal and is the current latest release (as of February 28, 2026).However, Error Prone library version 2.48.0 does not exist on Maven Central. The latest available version is 2.47.0 (released February 5, 2026). This PR will fail to build with the specified errorProne version. Update line 18 from
2.48.0to2.47.0, or verify if2.48.0should reference a different artifact/repository.🤖 Prompt for AI Agents