I want to use some parts of code in different area of bootstrap.groovy. How do I "include" these parts and reuse it?
def init = {
environments {
production {
include("bla.groovy)
include("blaFoo.groovy)
}
test {
include("blaFoo.groovy)
}
development {
include("bla.groovy)
include("bla1.groovy)
include("blaFoo.groovy)
}
}
}