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

Filterspec for configurations #292

Open
Vampire opened this issue Apr 16, 2024 · 0 comments
Open

Filterspec for configurations #292

Vampire opened this issue Apr 16, 2024 · 0 comments

Comments

@Vampire
Copy link
Contributor

Vampire commented Apr 16, 2024

It would be nice if you were able to configure a filterspec for the configurations to check instead of just giving them by name.
That way you could for example write a simple spec that checks all configurations that are resolvable, but not consumable, and do not have test in their name.
For example in Kotlin DSL:

licenseReport {
    configurationFilter {
        isCanBeResolved && !isCanBeConsumed && !name.contains("test", ignoreCase = true)
    }
}
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

No branches or pull requests

1 participant