Closed alllex closed 1 year ago
Personally, UX-wise I find it much more convenient to locate a single code snippet, make a single copy-paste movement and be done with it. Having an actually existing version in there is much better than having a template string that would break things if something would try to auto-reload Gradle build. Having an interpolation $
character would probably show red squiggles in the IDE, or worse -- use some unrelated value from the surrounding code.
In the long-term, I would advocate for something like a GitHub Action check that validates the README contains the latest version, rather than spreading out the information that a user requires to make things work.
Maybe it's better to add the version automatically via an badge or something and just use "$currentVersion" in the code blocks? 🤔