yoavst
11/12/2015, 2:46 PMfun build(building: () -> Unit) = building()
So we can use it like that:
val ModuleName = build {
repos(...)
kotlinProject {
}
I'm not so sure about the name build
, but with a good name it can look good. And it is just 1 method to add, so it isn't that bad.