Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to add plugin dependency to test classpath #1776

Open
jansorg opened this issue Sep 27, 2024 · 1 comment
Open

Allow to add plugin dependency to test classpath #1776

jansorg opened this issue Sep 27, 2024 · 1 comment

Comments

@jansorg
Copy link

jansorg commented Sep 27, 2024

Describe the need of your request

In a project the tests, and only the tests, are using the JSON plugin.
I'd like to have the classes of the JSON plugin in the test classpath. I don't want them in the main classpath because I could use them unintentionally.

Proposed solution

Add a flag or parameter to plugin(), bundledPlugin(), bundledModule() ... to add the dependency into the test classpath and not into the production classpath

Alternatives you've considered

No response

Additional context

I'm using the v2 plugin descriptor, but this probably doesn't matter.

@Undin
Copy link
Contributor

Undin commented Oct 9, 2024

Actually, it's the same as #1586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants