Marc Reichelt
05/01/2019, 12:21 PMGarouDan
05/01/2019, 12:25 PMMarc Reichelt
05/01/2019, 1:20 PMProtobufConfigurator.groovy
file, and I made a little progress:
protobuf {
protobuf.apply {
protoc(closureOf<Any> {
// TODO
})
plugins(closureOf<Any> {
// TODO
})
generateProtoTasks.all().forEach { task ->
task.plugins(closureOf<Any> {
// TODO
})
}
}
}
Marc Reichelt
05/01/2019, 1:20 PMMarc Reichelt
05/01/2019, 1:21 PMGarouDan
05/01/2019, 1:25 PMMarc Reichelt
05/01/2019, 1:32 PMclosureOf
in this case (because the protobuf plugin does not use Action<T>
)Marc Reichelt
05/01/2019, 1:34 PMCzar
05/01/2019, 2:21 PM*.groovy
. kotlin-dsl vs groovy-dsl is not a zero-sum game.