I’m packaging Audiveris, and during the build, there is a gradle task
:git_build that tries to run a git command to get the current hash (I guess in order to provide information about the version used).
fetchFromGitHub does not keep the .git repository, so the git command fails. For now, I clone the repository locally, and include it with
src = ./audiveris;, but it’s not suitable for production.
One solution would be to patch the gradle tasks to hard-code the output of git, but I don’t really like this idea, first because I don’t know anything about gradle, but also because I think nobody wants to maintain such patch.
What is the proper way to handle that issue?