Skip to content

Upgrade to Groovy 6 and fix test compatibility - #3470

Open
wborn wants to merge 1 commit into
mainfrom
groovy-6
Open

wborn wants to merge 1 commit into
mainfrom
groovy-6

Conversation

@wborn

@wborn wborn commented Oct 22, 2026

Copy link
Copy Markdown
Member

Description

Upgrade Groovy to 6.0.0, Spock to 2.5-groovy-6.0, and iCal4j to 4.4.0.

  • Add the groovy-callsite dependency for compatibility with iCal4j's legacy Groovy extensions.
  • Replace wildcard generic type arguments in constructor calls with the diamond operator.
  • Move JUL logging initialization from ContainerTrait's static initializer to the Spock TestFixture extension to avoid initialization failures with Groovy 6.

Groovy 6 release notes:
https://groovy-lang.org/releasenotes/groovy-6.0.html

Checklist

  • 1. Acceptance criteria of the linked issue(s) are met
  • 2. Tests are written and all tests pass
  • 3. Changes are manually tested by you and the reviewer
  • 4. Documentation is written or updated

Upgrade Groovy to 6.0.0, Spock to 2.5-groovy-6.0, and iCal4j to 4.4.0.

- Add the groovy-callsite dependency for compatibility with iCal4j's legacy Groovy extensions.
- Replace wildcard generic type arguments in constructor calls with the diamond operator.
- Move JUL logging initialization from ContainerTrait's static initializer to the Spock TestFixture extension to avoid initialization failures with Groovy 6.

Groovy 6 release notes:
https://groovy-lang.org/releasenotes/groovy-6.0.html
@wborn
wborn requested a review from a team October 22, 2026 14:57
@wborn wborn added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Oct 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

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

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant