# What is the way to import gradle based project into the Eclipse

**URL:** <https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925>\
**Category:** Old Forum Archive\
**Created:** [June 25, 2014, 1:23pm UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925 "2014-06-25T13:23:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhay\_Datta](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Abhay\_Datta](https://discuss.gradle.org/u/Abhay_Datta)\
**Post date:** [June 25, 2014, 1:23pm UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/1 "2014-06-25T13:23:00Z")

</div>

What is the way to import gradle based project into the Eclipse…

---

<div class="post-metadata">

**Author:** ![Radim\_Kubacki](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/radim_kubacki/32/1032_2.png) [@Radim\_Kubacki](https://discuss.gradle.org/u/Radim_Kubacki)\
**Post date:** [June 25, 2014, 2:43pm UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/2 "2014-06-25T14:43:00Z")

</div>

Either import the project using Gradle plugin installed into your Eclipse installation or generate Eclipse project files using ‘eclipse’ plugin that is part of Gradle distribution. I suggest you to take a look at documentation. [http://www.gradle.org/tooling](http://www.gradle.org/tooling) is a good starting point and there are few other that are likely to be at the top of search result from any decent search engine when queried for ‘eclipse gradle’.

---

<div class="post-metadata">

**Author:** ![Todd\_Gerspacher](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@Todd\_Gerspacher](https://discuss.gradle.org/u/Todd_Gerspacher)\
**Post date:** [June 25, 2014, 7:32pm UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/3 "2014-06-25T19:32:00Z")

</div>

I always used the eclipse task (from the Gradle GUI), because I could never get the Gradle plugin for the Groovy/Grails Tool Suite to work.

---

<div class="post-metadata">

**Author:** ![Abhay\_Datta](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Abhay\_Datta](https://discuss.gradle.org/u/Abhay_Datta)\
**Post date:** [June 26, 2014, 4:21am UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/4 "2014-06-26T04:21:00Z")

</div>

Hello All, Thanks for your reply ,As you suggest i used the Gradle Eclipse Plugin and insall it in my Eclipse by following the instruction from this link: [https://github.com/spring-projects/eclipse-integration-gradle/](https://github.com/spring-projects/eclipse-integration-gradle/) But When i supposed to import the Gradle based proejct into the eclipse getting error like this,

- What went wrong: A problem occurred evaluating project ‘:clover-android-sdk’. \> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID\_HOME environment variable.

Please Give me steps to import gradle proejct into the eclipse !!!

---

<div class="post-metadata">

**Author:** ![Radim\_Kubacki](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/radim_kubacki/32/1032_2.png) [@Radim\_Kubacki](https://discuss.gradle.org/u/Radim_Kubacki)\
**Post date:** [June 26, 2014, 2:01pm UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/5 "2014-06-26T14:01:00Z")

</div>

Android projects are not compatible with Eclipse Gradle plugin. There are various resources discussing this including [http://stackoverflow.com/questions/17107014/is-it-possible-to-use-the-gradle-build-system-for-android-with-eclipse](http://stackoverflow.com/questions/17107014/is-it-possible-to-use-the-gradle-build-system-for-android-with-eclipse) And definitely if you want to develop Android applications using Gradle you should look at documentation at [http://tools.android.com/tech-docs/new-build-system](http://tools.android.com/tech-docs/new-build-system)

---

<div class="post-metadata">

**Author:** ![Abhay\_Datta](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Abhay\_Datta](https://discuss.gradle.org/u/Abhay_Datta)\
**Post date:** [June 27, 2014, 9:18am UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/6 "2014-06-27T09:18:00Z")

</div>

I used the eclipse Gradle Plugin and successfully import the Gradle based android library project into my Eclipse IDE but now i am unable to use this gradle library project into my eclipse project.Please can you give some suggestion for this problem?

---

<div class="post-metadata">

**Author:** ![Radim\_Kubacki](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/radim_kubacki/32/1032_2.png) [@Radim\_Kubacki](https://discuss.gradle.org/u/Radim_Kubacki)\
**Post date:** [June 27, 2014, 9:21am UTC](https://discuss.gradle.org/t/what-is-the-way-to-import-gradle-based-project-into-the-eclipse/6925/7 "2014-06-27T09:21:00Z")

</div>

My suggestion is to switch to Android Studio (or NetBeans can deal with that too). I thought that this is obvious from linked resources that Eclipse is not well supported at the moment (and it can really take a while before there is a support if there will be any).
