FAQ: Gradle taking too long to index

Sian_Ayres
Sian_Ayres Posts: 654 QUANTEXA TEAM
edited March 27 in Academy

FAQ relevant for: all Academy versions

When opening IntelliJ on the Academy VDIs, dependencies may take too long to load, causing the project to not index properly.

This happens because IntelliJ attempts to download dependencies but fails as the VDIs do not have access to the internet.

We can stop this happening by putting Gradle in offline mode.

To do this you need to do the following:

First, click on the Gradle panel near the top of the right sidebar:

Then, click on the toggle offline mode button:

The button will be a lighter grey colour when the offline mode is on

Finally, click the refresh button to restart the indexing:

Your project should now index a lot quicker (although it may still take 10-20mins)!

Tagged:

Comments

  • Nida_Ahmed
    Nida_Ahmed Posts: 339 QUANTEXA TEAM

    Very helpful, thank you @Sian_Ayres!

    Nida Ahmed - Academy Team Lead ⛑️

    Did my reply answer your question? Why not mark it as accepted 😁

User Profiles
Academy Topic Owners
Feel free to ask our Topic Owners a question on all things related to our Academy
Academy Team Lead
Academy Team Lead
Academy Team Lead
Academy Q&A