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

Explicitly included sourceSets (whitelist) #714

Open
SIMULATAN opened this issue Dec 15, 2024 · 1 comment
Open

Explicitly included sourceSets (whitelist) #714

SIMULATAN opened this issue Dec 15, 2024 · 1 comment
Assignees
Labels
Feature Feature request issue type S: postponed Status: work on the issue is not in the short term plans

Comments

@SIMULATAN
Copy link

What is your use-case and why do you need this feature?
In my project, there's multiple test and development source sets, like testIntegration and dev (for dev environment setup code). Manually excluding all of them without overlooking ones is a pain. This is further amplified by the fact that the testIntegration source set is added using a JvmTestSuite convention that is only applied after Kover, therefore requiring the use of afterEvaluate in order to actually catch all non-main source sets.

Describe the solution you'd like
Instead of just getting excludedSourceSets (aka "blacklist"), I'd like to have a "whitelist" approach as well. This way, I can only include the main source set and don't have to worry about the initialization order, dev source sets, ...

@SIMULATAN SIMULATAN added Feature Feature request issue type S: untriaged Status: issue reported but unprocessed labels Dec 15, 2024
@shanshin shanshin added S: postponed Status: work on the issue is not in the short term plans and removed S: untriaged Status: issue reported but unprocessed labels Dec 18, 2024
@shanshin
Copy link
Collaborator

Thanks for the suggestion!

This offer is definitely worth considering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request issue type S: postponed Status: work on the issue is not in the short term plans
Projects
None yet
Development

No branches or pull requests

2 participants