I am trying to configure the Java High Level REST Client by using https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.6/java-rest-high-getting-started-maven.html document.
I am using gradle as a dependency manager.
I have added the followings to my configuration file :
But unfortunately, It cannot find many classes in elastic search library.
Example classes are for org.elasticsearch.common.xcontent.ToXContentObject and org.elasticsearch.common.unit.TimeValue. There are so many others as well.
Could you help me to find why this is happening? Do i need more dependencies?