Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Spring Basics Introduction and Setting up Our Development Tools Gradle in Action

Antonio De Rose
Antonio De Rose
20,884 Points

Gradle dependencies, aren't downloading

How many ever the times, I refresh for gradle dependencies, it gives only me a timeout failing to download the files. any help is appreciated

dublinruncommutr
dublinruncommutr
5,944 Points

I had issues installing as well (Mac OSX + Java 9.04 + IntelliJ IDEA Community Edition 2017.3)

If you are using the new Java 9 JDK (like I did), there is an error that is thrown when trying to install Gradle through IntelliJ IDEA.

I had to manually install Gradle following these instructions: https://gradle.org/install/

Then in the menu: IntelliJ IDEA->Preferences->Build, Execution, Deployment->Build Tools->Gradle update the Gradle Home field value to your install path for the new Gradle version - in this case I installed to /opt/gradle/gradle-4.6 but obviously it will depend on where you manually installed Gradle to.

1 Answer

Antonio De Rose
Antonio De Rose
20,884 Points

I have a windows, have downloaded and added the home path, where ever, I downloaded, my case it is C:/, now I give refresh to the project, cant see dependencies, downloaded.