Build failing after upgrading researchgate to 3.0.0

753 views Asked by At

Cannot set the value of extension 'release' property 'pushReleaseVersionBranch' of type java.lang.String using an instance of type java.lang.Boolean.

it was working earlier with the same config for 'pushReleaseVersionBranch' as false tried with removing that configuration, then I see the other issue.

Cannot set the property 'requireBranch' because the backing field is final.

not sure what is changed in the latest version. how to fix this issue?

1

There are 1 answers

0
SanderDN On

I was able to fix this issue by using:

release {
    git {
        requireBranch.set('main')
    }
}