Grails 7 Migration - Rundeck 6.0 Compatibility#42
Merged
Conversation
….plugins, upgrade to Java 17 - Changed groupId: com.rundeck → com.rundeck.plugins - Updated Axion with ignoreUncommittedChanges=false - Upgraded from Java 11 to Java 17 for Grails 7 compatibility - Updated nexusPublishing.packageGroup to com.rundeck.plugins - Added PackageCloud publishing configuration - Version now managed dynamically from git tags See: .temp/PLUGIN_TAGGING_ARCHITECTURE.md and PACKAGECLOUD_MIGRATION_PLAN.md
Add --add-opens JVM args to allow cglib reflection in Java 17. Without these, tests fail with NoClassDefFoundError/ExceptionInInitializerError in CI environment where module restrictions are enforced more strictly.
Build and tests require Java 17 (sourceCompatibility set in build.gradle) but workflow was using Java 11, causing test failures in CI environment.
Upgrade Gradle wrapper to match rundeck/rundeckpro (8.14.3) for consistency. This ensures all plugins use the same build tooling version.
Corrected distribution parameter indentation to align with java-version. This fixes GitHub Actions validation errors.
Gradle wrapper upgrade updates the wrapper scripts themselves.
- Fixed distribution indentation (aligned with java-version at 10 spaces) - Updated Java version to 17 in release and snapshot-release workflows
carlosrfranco
requested changes
Apr 7, 2026
Co-authored-by: Carlos Eduardo <carloseduardo.rorizfranco@gmail.com>
Co-authored-by: Carlos Eduardo <carloseduardo.rorizfranco@gmail.com>
carlosrfranco
approved these changes
Apr 8, 2026
carlosrfranco
requested changes
Apr 8, 2026
Contributor
carlosrfranco
left a comment
There was a problem hiding this comment.
Sorry. I've approved the PR but realized the build was failing after this. The spock version should be updated too to fix groovy conflict version
Contributor
There was a problem hiding this comment.
Should update this too:
Suggested change
| spock = "2.3-groovy-4.0" |
Fixed test failures caused by incompatible test dependencies for Java 17. Changes: - Groovy: 3.0.22 → 4.0.29 (org.apache.groovy) - Spock: 2.0-groovy-3.0 → 2.3-groovy-4.0 - rundeck-core: 5.16.0 → 6.0.0-alpha1-20260407 - Replaced cglib-nodep 3.3.0 with byte-buddy 1.14.11 (cglib doesn't support Java 17) - objenesis: 1.4 → 3.3 The cglib "Unsupported class file major version 61" error is resolved by using ByteBuddy, which is the recommended mock framework for Spock on Java 17+.
carlosrfranco
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
Updates this plugin for Grails 7 / Rundeck 6.0 compatibility.
Key Changes
Documentation
Migration details and handoff documentation: .github/Grails7-Handoff/
Testing
Notes
-grails7suffix (will be removed at release)