mkobit
05/25/2018, 4:11 PMLucas
05/25/2018, 4:18 PMCzar
05/25/2018, 4:20 PMmkobit
05/25/2018, 4:22 PMgit {
methodMissing("git, delegateClosureOf<GitAdapter> {
}
}
but i dont think configuring the GitAdapter
looks nice either because so much of that plugin is built around dynamicness of groovy
you could also probably just put this part in a groovy gradle file and apply it from your kts
Lucas
05/25/2018, 4:43 PMmethodMissing
doesn't seems to be a solution because the requireBranch
property is from a class named GitConfig
that's inside GitAdapter
. Using a pure Groovy Gradle file worked and it's easier.
Thank you so much @Czar and @mkobit!