Skip to content

Conversation

@dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Jan 7, 2026

I told IntelliJ to reformat all gradle files. It uses the rules in our .editorconfig.
Also did a little hand-editing.

Once this is merged, I will record the commit in .git-blame-ignore-revs with a changelog entry with the title: Reformat gradle files with IntelliJ / .editorconfig

@dsmiley
Copy link
Contributor Author

dsmiley commented Jan 7, 2026

Unlike #4037 , there is no cost/time overhead (very high for "greclipse" !) or build complexity (however small) to maintain. True that there will be some inconsistency but we have a .editorconfig which should reduce that, especially amongst IntelliJ users. This is an improvement!

def resolved = configurations.javadocs.resolvedConfiguration
resolved.resolvedArtifacts.each { artifact ->
resolved.resolvedArtifacts.each {artifact
->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't love this newline left of the arrow; rather inconsistent. I fiddled with it now and it's appears to be because there are lines below that exceed 100 chars. Tweaks to them result in keeping the newline as it's been, which is nicer. I'll push a fix.

by reflowing to the 100 char width budget.  Also removed a couple cases where we didn't need to pass an arg to the lambda.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant