# No able to add a dependency using Gradle to the Custom Auth App on Git

**URL:** <https://discuss.elastic.co/t/no-able-to-add-a-dependency-using-gradle-to-the-custom-auth-app-on-git/104229>\
**Category:** Elasticsearch\
**Created:** [October 17, 2017, 10:53am UTC](https://discuss.elastic.co/t/no-able-to-add-a-dependency-using-gradle-to-the-custom-auth-app-on-git/104229 "2017-10-17T10:53:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Junaid03](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@Junaid03](https://discuss.elastic.co/u/Junaid03)\
**Post date:** [October 18, 2017, 1:37pm UTC](https://discuss.elastic.co/t/no-able-to-add-a-dependency-using-gradle-to-the-custom-auth-app-on-git/104229/4 "2017-10-18T13:37:22Z")

</div>

Hi Vivek, I tried the same yesterday and found out that the jar also needs to be supplied and stored in the relative plugin folder. Otherwise it will not work. Checkout more details here: [Class Not Found, for a local jar I try to add to a plugin](https://discuss.elastic.co/t/class-not-found-for-a-local-jar-i-try-to-add-to-a-plugin/104369/3)

---

_[View the full topic](https://discuss.elastic.co/t/no-able-to-add-a-dependency-using-gradle-to-the-custom-auth-app-on-git/104229)._
