api / org.gradle.api / InvalidActionClosureException / getClosure

getClosure

open fun getClosure(): Closure<*>

The closure being used as an action.

Return
The closure being used as an action.