Adding inject dependency for Elasticsearch build