-
Notifications
You must be signed in to change notification settings - Fork 135
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
2.39.0 release broke java compilation on my project #1167
Comments
Are you forcing an older than expected error-prone version? If you're forcing down from 2.3.4 to 2.3.3 I would expect that issue. |
I'm not forcing an older-than-expected errorprone version (at least that I can find in my |
Hmm, yeah so it looks like gradle is recommending 2.3.3 which appears to be sourced entirely from
I tried pinning
@carterkozak going to leave this issue open in case you think there's a way to enforce resolution to 2.3.4 within the |
The problem is that you're using nebula dependency recommender instead of GCV.
baseline already recommends 2.3.4, you can see that right there in the dependencyInsight you posted:
it's just that nebula overrides all transitive constraints once you've declared that you want a particular version, which makes errors of this kind very common. |
hmm, looked like I had GCV imported on my classpath but not actually applied:
Though with that set of buildscript deps I'm not sure where the nebula dependency-recommendation is coming from, I guess it could be a transitive dep through the nebula publishing plugin? |
nebula is pulled in by baseline. You'll want to turn off nebula if you are using GCV: https://github.com/palantir/gradle-baseline#turning-it-off |
Perhaps it is time for baseline to stop bundling nebula dependency recommender... #1169 |
What happened?
The change in #1085 appears to have broken my usage in a kotlin project during the
compileJava
step:My guess is that the source of the issue might be the use of one of these two libs in my
build.gradle
:What did you want to happen?
Upgrading minor version releases to not break compilation in my project
The text was updated successfully, but these errors were encountered: