I’m thinking of changing the manifest of a jar or the jar name itselfs every time some changes are detected. I.e. so long a “gradle build” prints “up-to-date” I want to keep the jar name unchanged. In all other cases I want to create a new version.
Hopefully it is clear what I’m looking for.
I tried s.th. like
version = new Date().format(“yyyyMMdd-mm-tt-ss”)
but then, every time a new jar is built, which is clear to me after rethinking it. But how could a solution to my problem look like?
Hope you can help.