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
branchVersionIncrementer cannot be serialized #590
Comments
hi! @savasimic could you create a repo than we can debug on? maybe we introduced some problems when adding kotlin dsl support - did it work on any version for you? |
Hi All, This test will allways fail since version 1.14.0 because the introduction of the @input annation with this commit: The simple fix is to remove the @input annotation above
Probably these (and also other) @input annotations are usesless at this point because the closure is always evalated at configuration time and there is no expensive input/output (writing) task which needs caching, Is it possible to remove them in 1.15.1? |
@duschata nice! thx! Do you want to make a PR and remove unnecessary annotations? I can do it next week probably - and I'll be happy to release new version |
@duschata I think the "better" fix would be to use the
This clearly indicates to Gradle that this is something that is not part of the Task input. And it would be consistent with:
in the same file. I think |
I tried to use different custom incrementers for different branches. When executing task
currentVersion
I was receiving error like:I tried to set
branchVersionIncrementer
with same values like in documentationand got same error
This is happening only when I'm using closures.
Did anyone had similar issue?
Just to note, I'm using gradle 7.5 and version of axion-release-plugin 1.14.4.
The text was updated successfully, but these errors were encountered: