-
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
New plugin BaselineFixGradleJava #1254
Conversation
Generate changelog in
|
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.
Looks good to me!
I'm missing a bit of context to evaluate how this will affect existing repos. If you are worried about this, feel free to tag another reviewer. Otherwise, merge away!
Released 3.5.0 |
Before this PR
Users can resolve configurations like
compile
,runtime
andcompileOnly
, which are meant to be buckets of dependencies (you can only add dependencies to them), never actually resolved or depended on.Also, resolving these can trigger a Gradle bug - gradle/gradle#11844 (comment) - when running code that attempts to resolve all resolvable configurations. This bug seems to be encountered less often when these configurations are not being resolved.
After this PR
==COMMIT_MSG==
A new
com.palantir.baseline-fix-gradle-java
plugin fixes up the deprecated configurations of java source sets so they cannot be resolved or depended on.==COMMIT_MSG==
Possible downsides?
This can break external plugins. I think this is a good opportunity to discover these problems though, as later the same break will be introduced in Gradle 7. And as mentioned in Before this PR, the fact that these are resolvable is already causing some problems.