Skip to content

Upgrade Groovy to 5.0.6 and Spock to 2.4-groovy-5.0#168

Merged
spannm merged 1 commit into
SkillPanel:masterfrom
spannm:chore/upgrade-groovy-5
May 30, 2026
Merged

Upgrade Groovy to 5.0.6 and Spock to 2.4-groovy-5.0#168
spannm merged 1 commit into
SkillPanel:masterfrom
spannm:chore/upgrade-groovy-5

Conversation

@spannm
Copy link
Copy Markdown
Collaborator

@spannm spannm commented May 30, 2026

This PR upgrades the Groovy and Spock test dependencies to the next major version line.

Since Groovy 5 completely dropped support for targeting Java 8 bytecode, the gmavenplus-plugin has been configured to explicitly use the project's Java version (${javaVersion}) as its targetBytecode.

Changes

  • Updated ${dep.groovy.version} to 5.0.6
  • Updated ${dep.spock.version} to 2.4-groovy-5.0
  • Added <targetBytecode>${javaVersion}</targetBytecode> to gmavenplus-plugin configuration to prevent compilation failures with Groovy 5

Upgrade Groovy and Spock test dependencies to the next major version.
Configure gmavenplus-plugin to explicitly use Java 17 target bytecode,
as Groovy 5 dropped support for Java 8 bytecode targets.
@spannm spannm requested a review from mariuszs May 30, 2026 12:22
@spannm spannm merged commit 24920dd into SkillPanel:master May 30, 2026
1 check passed
@spannm spannm deleted the chore/upgrade-groovy-5 branch May 31, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants