Lex Luthor
10/04/2018, 1:32 AM"net.researchgate.release"
within a Kotlin DSL Gradle build?
https://github.com/researchgate/gradle-release
This project aims to work much like maven-release-plugin
did with Maven. The problem I'm having is that the DSL relies on Groovy propertyMissing
magic and don't know how to get it to expose the GitConfig
properties of the GitAdapter.. specifically I'd like to be able to set:
-- Groovy
git {
requireBranch = 'master|develop'
}
Lex Luthor
10/08/2018, 6:33 AMrelease {
with (propertyMissing("git") as GitAdapter.GitConfig) {
requireBranch = "master|develop"
}
}