I just built Elasticsearch for the first time. I followed the CONTRIBUTING.MD instructions, sort of.
There was a circular aspect to this journey.
"First install gradle. It must be version 2.13."
I already had two newer versions of gradle, and so I thought I should use the wrapper, gradlew.
The catch-22 (almost) was that when I cloned ES's repo to a new directory, the gradle wrapper command failed with a complaint that gradle version must be 2.13.
So I created a new directory, ran
gradle wrapper --gradle-version 2.13,
then copied the ES repo's ./.git into the new directory and ran
git reset --hard HEAD.
That seemed to work, and I got a first successful run of
Since ES uses such an old gradle version, and I can't be the only one who has to have other versions of gradle around,....
Is it worth updating CONTRIBUTING.MD or some other help location for new contributors to save people time with this? Even if not, maybe this question will contain enough answer for the next person. Maybe someone will want to say if I missed an obvious easier way.