Elasticsearch has made one of their recent client releases as type ‘pom’.
<dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>6.4.1</version> <type>pom</type> </dependency>
Adding following dependency to gradle does not work.
compile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-high-level-client', version: '6.4.1', ext: 'pom'
Looks like gradle doesn’t resolve all the dependencies when it is of type ‘pom’. Is there a way to make this work in gradle?