api / org.gradle.api.provider / Provider / get

get

abstract fun get(): T

Returns the value of this provider if it has a value present, otherwise throws java.lang.IllegalStateException.

Exceptions

IllegalStateException - if there is no value present

Return
the current value of this provider.