Skip to content

Conversation

RyanHecht
Copy link

@RyanHecht RyanHecht commented Feb 27, 2025

Closes #100

This pull request enhances the groovy.classpath configuration to allow for recursive directory traversal when specifying classpath entries.

For example, if a user specifies /home/user/.m2/repository/**, the local Maven repository will be recursively searched, and all .jar files will be added to the classpath.

This is accomplished by modifying the getClasspathList method in CompilationUnitFactory.java. I added a helper function for recursive directory search as well.

…ifying two asterisks after the directory name, e.g., /home/user/.m2/**
@gtnbssn
Copy link

gtnbssn commented May 8, 2025

I have been looking for this feature! Any updates on getting this merged?

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.

Allow for recursively searching groovy.classpath directory entries.
2 participants