allegro/axion-release-plugin

Question - How to serialize / deserialize tag in 1.16.1?

jerzykrlkroche opened this issue · 0 comments

Hello team.

I've recently upgraded to version 1.16.1 and my project won't build.

I've set up the serialization just like the documentation says:

scmVersion {
    tag {
        serialize({config, version -> "my-version"})
    }
}

And I'm getting this Gradle error:

> Could not find method serialize() for arguments [build_2wfsgo14h16840owj4rup62bu$_run_closure1$_closure5$_closure6@5e1de291] on object of type pl.allegro.tech.build.axion.release.domain.TagNameSerializationConfig.

Is there something wrong with the code?