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.
If i understand you correctly,you can search `gradle' on the settings,and see the printscreen
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With