jmongard/Git.SemVersioning.Gradle

`-PnoDirtyCheck=true` no longer works

Closed this issue · 2 comments

It seems that -PnoDirtyCheck=true is no longer being honored by the releaseVersion task.

A short investigation shows that the task defaults the property to false here.

The only manipulation of the field I can find is here.

It seems that the property is not being passed down from the settings object passed in.

Ok, I will look in to it

This problem is fixed in 0.12.5. It were caused by requirement to reading properties lazy to make configuration cache work. The properties were only read when using the print tasks but not when using the release task.