getPolicyProvider

fun getPolicyProvider(sourceId: SourceId?): PolicyProvider

Maps the requested sourceId to a PolicyProvider.

Return

The PolicyProvider corresponding to sourceId. If sourceId is null or no PolicyProvider is available, returns the fallbackPolicyProvider specified via the Gradle ivi statement.