Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix broken export-classpath #4603
I'd assumed that ClassPathUtils.classpath would take just the root targets, and that it didn't apply excludes correctly when the closure was passed. That was incorrect.
Doing that would cause export-classpath to return an invalid classpath
Revert that change, and update the regression test to be more comprehensive.
export-classpath works correctly again, and the regression test covers the excludes case more effectively.