Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pitometsyurii opened this issue Feb 8, 2022 · 2 comments
Open

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

pitometsyurii opened this issue Feb 8, 2022 · 2 comments
Assignees
Labels
Milestone

Comments

@pitometsyurii
Copy link

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
Copy link
Collaborator

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 .

@Hillkorn Hillkorn self-assigned this May 23, 2022
@Hillkorn Hillkorn added this to the 3.0.0 milestone May 23, 2022
Hillkorn added a commit that referenced this issue Jun 1, 2022
* feat: upgrade wrapper to 6.9.2

* Upgraded to gradle 6 and refactored tests to use the gradleTestKit. ReleaseExtension uses Properties now.

* feat: replaced travis ci with github workflow to run tests

* feat: Replaced dynamic property handling in grovvy with fields #353 #288 #281

* feat: GitAdapter and SvnAdapter configs are now of type gradle property and have input annotations
@rogervinas
Copy link

rogervinas commented Jun 9, 2022

Applying workarounds of #281 works for me in kotlin dsl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants