Installed Buildship plugin - now what?

buildship
eclipse

(Yonatan) #1

I want to add Gradle to Eclipse. My goal is to add Gradle management
to dependencies of some Android projects which were built at the time
using Eclipse and conversion to an Android Studio project doesn’t end
well.

I’ve installed the Buildship plugin into eclipse. I have added Gradle
to the project by right clicking the project -> Configure -> Add
Gradle Environment.

Now what? I don’t see any Gradle files in the project where I can manage the dependencies. How do I tell Gradle to generate the build.gradle file?


(Yonatan) #2

Found the answer using this guide:
http://www.vogella.com/tutorials/EclipseGradle/article.html
Section 5 explains how to integrate Gradle to an existing project (gradle init was missing). After that right click the project -> Gradle -> Refresh Gradle Project