# Cannot import Gradle itself as an IDEA project

**URL:** <https://discuss.gradle.org/t/cannot-import-gradle-itself-as-an-idea-project/5711>\
**Category:** Old Forum Archive\
**Created:** [January 23, 2014, 5:36pm UTC](https://discuss.gradle.org/t/cannot-import-gradle-itself-as-an-idea-project/5711 "2014-01-23T17:36:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ae6rt](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/ae6rt/32/86_2.png) [@ae6rt](https://discuss.gradle.org/u/ae6rt)\
**Post date:** [January 23, 2014, 5:36pm UTC](https://discuss.gradle.org/t/cannot-import-gradle-itself-as-an-idea-project/5711/1 "2014-01-23T17:36:00Z")

</div>

I’m trying to import Gradle itself into IDEA to work on a minor feature enhancement. I am running IDEA v13 (build 133.370), and attempting to import Gradle HEAD as of this morning (commit at HEAD is 4e38919f788c361231a23b5d17c3f5f162f570df).

I attempt to import Gradle using File - Import Project, followed by gesturing to the top level build.gradle file. That import fails with details such as in this bug report: [http://youtrack.jetbrains.com/issue/IDEA-119781](http://youtrack.jetbrains.com/issue/IDEA-119781), which I just filed in response to the advice the IDEA screenshot gave me.

I tried following the README advice by executing “./gradlew idea”, then trying to open the .ipr file. That fails ultimately in the same way, as IDEA apparently wants to go down the File - Import Project path anyway.

Any ideas on how I can import Gradle into IDEA and work around this problem?

Thanks.

---

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [January 23, 2014, 6:32pm UTC](https://discuss.gradle.org/t/cannot-import-gradle-itself-as-an-idea-project/5711/2 "2014-01-23T18:32:00Z")

</div>

We are aware of these problems. Until they get fixed (which, from what I’ve heard, requires work on both ends), I recommend to use IDEA 12.

---

<div class="post-metadata">

**Author:** ![ddimitrov](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/ddimitrov/32/141_2.png) [@ddimitrov](https://discuss.gradle.org/u/ddimitrov)\
**Post date:** [January 24, 2014, 1:24am UTC](https://discuss.gradle.org/t/cannot-import-gradle-itself-as-an-idea-project/5711/3 "2014-01-24T01:24:00Z")

</div>

Peter, can you provide the Gradle and Idea issue tickets, so we can track them?

---

<div class="post-metadata">

**Author:** ![ae6rt](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/ae6rt/32/86_2.png) [@ae6rt](https://discuss.gradle.org/u/ae6rt)\
**Post date:** [January 24, 2014, 1:36am UTC](https://discuss.gradle.org/t/cannot-import-gradle-itself-as-an-idea-project/5711/4 "2014-01-24T01:36:00Z")

</div>

The one I filed

[http://youtrack.jetbrains.com/issue/IDEA-119781](http://youtrack.jetbrains.com/issue/IDEA-119781)

which references one filed prior to mine.
