excludedScopes

@Incubating
var excludedScopes: List<String>

This allows you to define a list of Maven scopes (e.g., compile, test)to exclude from the BOM dependencies.