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(String). You can call this method in your build script by using the groovy []} operator.

This operation is eager and will cause the returned element to be realized.