GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove maxLineLength from versionCatalog step by mkutz · Pull Request #2949 · diffplug/spotless

Conversation

@mkutz

@mkutz mkutz commented May 26, 2026

Copy link
Copy Markdown

Summary

  • Remove the maxLineLength option from the versionCatalog step — it produced multi-line inline tables (TOML 1.1 syntax) that Gradle's TOML 1.0 parser cannot read, breaking the build after spotlessApply
  • Multi-line inline tables in input are still collapsed to single lines
  • Clean up across Gradle plugin, Maven plugin, and test fixtures

Fixes #2948

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nedtwigg

nedtwigg commented May 26, 2026

Copy link
Copy Markdown
Member

Needs changelog entries

mkutz reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Michael Kutz added 2 commits May 26, 2026 18:43
Michael Kutz
Remove maxLineLength from versionCatalog step
5408d5c
Gradle's version catalog parser uses TOML 1.0, which requires
inline tables on a single line. The maxLineLength feature produced
multi-line inline tables (TOML 1.1 syntax) that Gradle cannot
parse, breaking the build after spotlessApply.

Remove the feature entirely rather than leaving a no-op parameter.
Multi-line inline tables in input are still collapsed to single
lines.

Fixes diffplug#2948
Michael Kutz
Add changelog entries for versionCatalog maxLineLength removal
b91ad87
@mkutz
mkutz force-pushed the fix/version-catalog-no-multiline branch from b5d5ede to b91ad87 Compare May 26, 2026 16:44
@mkutz

mkutz commented May 26, 2026

Copy link
Copy Markdown
Author

Thanks for the quick response. I added the changelog entries.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nedtwigg
nedtwigg merged commit a18ddec into diffplug:main May 26, 2026
20 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

versionCatalog step produces multi-line inline tables that Gradle cannot parse

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mkutz @nedtwigg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.