api / org.gradle.api.attributes / MultipleCandidatesDetails / getConsumerValue

getConsumerValue

abstract fun getConsumerValue(): T

Returns the value of the attribute specified by the consumer.

Return
The value or null if the consumer did not specify a value.

Since
4.1