@Incubating public interface BuildFeature
This method is primarily useful for gathering feature usage statistics, as it corresponds to the user intention.
Note that the requested state does not always imply that the feature is active in the build.
In case an effective status is needed, use
The provider is always defined and its value denotes the effective status of a feature in a build.
This method is primarily useful for conditional logic in plugins or build scripts. For instance, optional features of a plugin could be disabled if they are incompatible with a given build feature.
Note that a feature may be not active even it was requested. This can be caused by other build features or build options requested for the build.