jgitver, https://github.com/jgitver/gradle-jgitver-plugin, has in its configuration the option to use a repeatable closure:
jgitver {
policy { repeatable closure
pattern string (regexp with capturing group)
transformations array (array of string)
}
}
how would one write this in kotlin, or the plugin needs to be adjusted so it works?