Build elasticsearch-hadoop locally and using in storm-jar


I want to put some log-statements and change some logic in elasticsearch-storm.
As of now, I am using maven to build a fat jar for storm and that uses elasticsearch-storm dependency as follows:


But I am not sure how I can build another version of elasticsearch-storm (say 2.2.1-SNAPSHOT) using gradlew script in the elasticsearch-hadoop repository. (I have never used gradle before and some online searches not making it very clear).

Is there a command to build maven dependencies of elasticsearch-storm from the elasticsearch-hadoop repository?

Thanks for your help !