# ES Gradle plugin

**URL:** <https://discuss.elastic.co/t/es-gradle-plugin/139366>\
**Category:** Elasticsearch\
**Created:** [July 10, 2018, 2:22pm UTC](https://discuss.elastic.co/t/es-gradle-plugin/139366 "2018-07-10T14:22:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvelichkovich](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vvelichkovich](https://discuss.elastic.co/u/vvelichkovich)\
**Post date:** [July 10, 2018, 2:22pm UTC](https://discuss.elastic.co/t/es-gradle-plugin/139366/1 "2018-07-10T14:22:31Z")

</div>

I am have trouble to find anything about "ES Gradle plugin". I am finding in different posts recommendation to use this plugin for integration tests that I need (when I want to start my ES node and run different tests on it, for example create indices) .  
Anyone can give me more info about this? Any examples how to add dependencies, and how to use it to stand up a real ES cluster for my tests.  
Thank you.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 10, 2018, 2:35pm UTC](https://discuss.elastic.co/t/es-gradle-plugin/139366/2 "2018-07-10T14:35:07Z")

</div>

I shared some ideas about integration testing in this thread: [In memory testing with RestHighLevelClient](https://discuss.elastic.co/t/in-memory-testing-with-resthighlevelclient/106196/6)

Also this sample project shows how to use Elasticsearch Test Classes:

> **[joel-costigliola/elastic-search-test](https://github.com/joel-costigliola/elastic-search-test)**
>
> elastic-search-test - ESIntegTestCase example

---

<div class="post-metadata">

**Author:** ![vvelichkovich](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vvelichkovich](https://discuss.elastic.co/u/vvelichkovich)\
**Post date:** [July 10, 2018, 2:41pm UTC](https://discuss.elastic.co/t/es-gradle-plugin/139366/3 "2018-07-10T14:41:14Z")

</div>

Thank you, exactly what I am looking for.  
I have to use transport client to interact with test ES cluster. Do you think using ESIntegTestCase will work with that?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 7, 2018, 2:41pm UTC](https://discuss.elastic.co/t/es-gradle-plugin/139366/4 "2018-08-07T14:41:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
