Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Configure Eclipse to use the latest version of Gradle

mike rodent:

I'm reacquainting myself with Gradle. One of the problems I remember finding when I last looked, using 2.x I think, was multiple versions not only of project implementation jars but also multiple versions of Gradle's own jars.

In an attempt to keep things as clean as possible this time I'd like to get Eclipse to use the latest, greatest Gradle, which at the time of writing is 4.4.1.

I think I understand where this is configured, if one is using the Gradle wrapper:


Here I see the crucial last line:


I presume what I should do is just change that manually to ... ... But the question is: where is the Buildship plugin actually getting that line from?

When I look under Help --> About Eclipse --> Installation Details --> Buildship there's no sign of anything about Gradle versions.

When I go Window --> Prefs --> Gradle I find you either set the distribution to "Gradle wrapper" (yes, Gradle Goodness) or to a "Specific Gradle version", the highest one currently showing being 4.4.1.

It seems odd that Eclipse should be "aware" that the latest one is 4.4.1 but by default use 3.5!

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered

This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Configure Eclipse to use the latest version of Gradle


Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription