Mimi.O
Mimi.O

Reputation: 99

building gradle in eclipse

I'm new to working with gradle but I'm somewhat familiar with Eclipse. When I discovered I couldn't build gradle projects directly from eclipse, I searched for solutions and chose to create use the external tools Configuration to run my program. I used the "--gui" option in my configurations. This worked for a while but lately I've been getting these messages: Failed to connect to gradle process for command "tasks"

FAILURE: Build failed with an exception.

*What went wrong: A problem occurred evaluating initialization script.

Could not connect to GUI server at port 53503

The port number is different with each error. I've tried restarting eclipse, sometimes that works, most times It doesn't. Does anyone understand this error and know a solution for it

Upvotes: 0

Views: 2241

Answers (2)

Mimi.O
Mimi.O

Reputation: 99

I downloaded Eclipse Mars v4.5.1, as per the suggestion above, and downloaded the Gradle official plugin for Eclipse, Buildship, from the Eclipse Market place

Help -> Eclipse MarketPlace... -> Search -> Buildship -> Install

Not a solution to my exact question, but a solution to my problem

Upvotes: 0

Verhagen
Verhagen

Reputation: 4034

In case your Eclipse version does not come with Gradle installed, search the Eclipse Marketplace for Gradle.

Upvotes: 2

Related Questions