refreshVersions icon indicating copy to clipboard operation
refreshVersions copied to clipboard

Please consider a less generic name or path for the versions file

Open Vampire opened this issue 5 months ago • 2 comments

I have this plugin and https://github.com/SonarSource/sonar-scanner-gradle in the same classpath. Both plugins have the very generic /version.txt file in their JAR and read it to find out their own version. This of course makes one of the plugins misidentify its version, in my case the SonarQube plugin thinks it is version 0.60.3 because this plugin comes first in the classpath.

It would be better to have a more unique name like refreshVersions-version.txt or the file moved to a path under the namespace of this plugin like de/fayard/refreshVersions/core/version.txt to minimize the risk of resource-name-clash with other plugins or libraries.

Vampire avatar Sep 10 '24 13:09 Vampire