Skip to content

Conversation

@stempler
Copy link
Member

This allows for example to access ConfigHelper class.

ING-4849

This allows for example to access ConfigHelper class.

ING-4849
@stempler stempler requested a review from Copilot November 27, 2025 15:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables Groovy scripts executed within the plugin to access the plugin's classpath, specifically allowing access to classes like ConfigHelper. The change updates the GroovyShell initialization to use the plugin's classloader.

  • Modified GroovyShell creation to pass the plugin's classloader
  • Added mise.toml for Java 17 tooling configuration
  • Simplified .wetf-repo.yml by removing redundant workflow preset configuration

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/main/groovy/to/wetransform/gradle/swarm/actions/assemble/template/GroovyScriptFilter.java Updated GroovyShell initialization to include the plugin's classloader, enabling script access to plugin classes
mise.toml Added Java 17 tooling specification using Temurin distribution
.wetf-repo.yml Removed redundant java-17 workflow preset configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stempler stempler merged commit ba42f55 into master Nov 27, 2025
2 checks passed
@stempler stempler deleted the feat/groovy-script-classpath branch November 27, 2025 15:43
@we-release
Copy link

we-release bot commented Nov 27, 2025

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@we-release we-release bot added the released label Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants