Eclipse Mars and gradle support

Eclipse 4.5 a k a Mars was released yesterday (24 June 2015) on schedule.  Among other features is the first-class support for gradle (hitherto available through gradle integration for eclipse).

Gradle support in Mars is through Buildship Eclipse Plug-in, which can be installed through Eclipse Marketplace.

Once installed, an existing gradle project can be imported by using the Import... option of Eclipse

Choose an existing gradle project.  I chose a recent android project created using Android Studio.  Note however that this plugin has nothing to do with android and does not add support for android projects built using Android Studio/Gradle.

Navigate the wizard

I chose the default - the options are self-explanatory

There is this warning based on the version of gradle used.  It appears that the plugin works best with the latest version of gradle.

Once imported, the following views show up.  One being Gradle Tasks, that allow you to see tasks available and run.

On running, you see the output in the Console

Gradle also shows up you Right-click on project.

And you can add a new Gradle project as well by choosing File | New | Other... | Gradle | Gradle Project.


Popular posts from this blog

Opening a safe deposit locker in SBI

Opening a Kannada Word document

Automating a cordova ios build