My gradle in intellij idea has no cache. So i found the best solution to uncheck the offline mode in gradle. But the problem is I didn't find any in Intellij Idea 2017.1 . Please help.
My gradle in intellij idea has no cache. So i found the best solution to uncheck the offline mode in gradle. But the problem is I didn't find any in Intellij Idea 2017.1 . Please help.
On IntelliJ 2019.2 EAP I cannot find the "Offline work" box to uncheck. However, you can go to
$HOME/Library/Preferences/IntelliJIdea2019.2/options/gradle.settings.xml
on MacOS or the path defined by JetBrains and remove the OfflineMode option.
For Linux user using Intellij 2019.2 you can find the Gradle option file in
~/.IntelliJIdea2019.2/config/options/gradle.settings.xml
or create one if it doesn't exist and add the "offlineWork" option with value=false
<application>
<component name="GradleSystemSettings">
<option name="offlineWork" value="false" />
</component>
</application>
change the offlineWork option to false