researchgate / gradle-release

gradle-release is a plugin for providing a Maven-like release process for projects using Gradle
MIT License
868 stars 220 forks source link

Can't find 'git' property on 'release' config #353

Open pitometsyurii opened 2 years ago

pitometsyurii commented 2 years ago

Seems like git property on a release config does't take any effect. Even IntelliJ complaint that it can't find this property in ReleaseExtencion.groovy source file.

image

Hillkorn commented 2 years ago

This is because there is no explicit property for it and instead some groovy magic is used. See https://github.com/researchgate/gradle-release/blob/master/src/main/groovy/net/researchgate/release/ReleaseExtension.groovy#L81 .

rogervinas commented 2 years ago

Applying workarounds of https://github.com/researchgate/gradle-release/issues/281 works for me in kotlin dsl