gradle
8.4

# of

abstract fun <T, P : ValueSourceParameters?> of(valueSourceType: Class<out ValueSource<T, P>>, configuration: Action<out Any>): Provider<T>(source)

Creates a Provider whose value is obtained from the given ValueSource.

#### Return

the provider, never returns null

#### Parameters

valueSourceType

the type of the ValueSource

configuration

action to configure the parameters to the given ValueSource