getValue

Deprecated

Use 'val files = configurableFileCollection.getFiles()' instead. See the Gradle 9.6 upgrading guide.

Property delegate for ConfigurableFileCollection instances.

Example: val aFileCollection by project.files()


inline operator fun <T : Any> ExtensionContainer.getValue(thisRef: Any?, property: KProperty<*>): T(source)

Deprecated

Use 'val extension = extensions.getByType<Type>()' instead. See the Gradle 9.6 upgrading guide.

Delegated property getter that locates extensions.


operator fun <T> ExistingDomainObjectDelegate<out T>.getValue(receiver: Any?, property: KProperty<*>): T(source)

Deprecated

Use the named() API instead. See the Gradle 9.6 upgrading guide.

Gets the delegate value.


inline operator fun <T : Any, U : T> NamedDomainObjectProvider<out T>.getValue(thisRef: Any?, property: KProperty<*>): U(source)

Deprecated

Use 'val value = provider.get()' instead. See the Gradle 9.6 upgrading guide.

Allows a NamedDomainObjectProvider to be used as a property delegate.

See also

NamedDomainObjectProvider.get

operator fun <T : Any> Property<T>.getValue(receiver: Any?, property: KProperty<*>): T(source)

Deprecated

Use 'val value = property.get()' instead. See the Gradle 9.6 upgrading guide.

Property delegate for Property instances.

Example: val someProperty by somePropertyState