Adding kotlin extension to a groovy plugin

Hi,

I try to use the gradle-release plugin with the kotlin DSL.

Problem is on configuring the git part like this :

release {
    failOnUpdateNeeded  =false
    failOnCommitNeeded=false

    git {
        requireBranch = "master"
        pushToRemote = "origin"
        pushToBranchPrefix = ""
        commitVersionFileOnly = false
        signTag = false
    }
}

The plugin is a groovy plugin and is using the propertyMissing for configuring the git part.

I have found a great solution in the forum :

And I would like to submit a PR to add this extension to the plugin but is it possible ?
Is it possible to add kotlin extensions to a groovy plugin ?

Hope the question is clear enough.