What is the way to import gradle based project into the Eclipse…
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 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’.
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.
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/ 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 !!!
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 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
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?
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).