gradle
8.4

# getAt

abstract fun getAt(name: String): T(source)

Locates an object by name, failing if there is no such object. This method is identical to getByName. You can call this method in your build script by using the groovy `[]` operator.

#### Return

The object with the given name. Never returns null.

#### Parameters

name

The object name

#### Throws

UnknownDomainObjectException

when there is no such object in this collection.