Open nilscript opened 1 year ago
Aah what a shame. I've been looking around and trying quite a number of Gradle semver plugins. This one ticks almost all of the boxes, has a nice number of configuration options but this, the total rewrite of the gradle.properties, does hurt.
Seeing the commit activity I don't think this will change any time soon right? @rising3
Problem
I try to increment the version in gradle.properties but the plugin not only increments the version but reorganizes the file aswell, a behaivor which is most unwanted as the file is made for humans to freely edit. Scrambling properties around make noone want to work with it. Also comments get's deleted.
Possible solution
Rewrite the parser to only replace the old version substring with the new version without reogranizing the entire file.
Other observations
The reorganization of properties is not even stable. When incrementing minor, major or patch the properties get's slightly diffrent orderings.