public interface GroovyBindingsSpec extends BindingsSpec
BindingsSpec
.void init(@DelegatesTo(value=java.lang.Void.class,strategy=2) Closure<?> closure)
The closure can declare parameters, that will be injected. That is, parameters must be typed and implementations of such types must be provided by the modules.
closure
- The initializer