gradle / foojay-toolchains

Java Toolchain Resolve Plugin based on the foojay DiscoAPI
Apache License 2.0
126 stars 16 forks source link

Update version to 0.7.0 in the readme #44

Closed alllex closed 1 year ago

StefMa commented 1 year ago

Maybe it's better to add the version automatically via an badge or something and just use "$currentVersion" in the code blocks? 🤔

alllex commented 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.