Can someone tell me why Gradle offline mode makes ...
# gradle
o
Can someone tell me why Gradle offline mode makes such a huge difference (like 10x faster) when building, while my internet is 1000MB/s? What is it doing? Is it redownloading all the dependencies? I assume not. Why does the "internet" part of the gradle builds take so long? I'm on AS Arctic Fox 2020.3.1 Patch 2
😶 4
a
It's possible it is trying to resolve dependencies everytime which can happen when project contains non fixed dependencies version like
+
As a first step, try doing clean, incremental builds with Gradle build scan and note the network activity tab. Incremental build should almost always have no network activity. If it does, you could find which dependencies was getting download and try to fix them.
o
Thanks for helping, Just checked, I dont have any dependencies with a + in it. How do I perform a incremental build?
v
Just change one file and build again without doing a clean or similar
o
@Vampire Got it. Do you know perhaps where the network activity tab? Only one I know in the IDE is from the app profiler itself. Or the Windows' task manager network tab if that's meant
v
It is not, he meant in the build scan
o
Oh great!! Just what I need. Will try it out thanks