FAQ: Gradle taking too long to index

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)!
Comments
-
Very helpful, thank you @Sian_Ayres!
Nida Ahmed - Academy Team Lead ⛑️
Did my reply answer your question? Why not mark it as accepted 😁
1