summaryrefslogtreecommitdiffstats
path: root/mobile/android/gradle/dotgradle-offline/init.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/gradle/dotgradle-offline/init.gradle')
-rw-r--r--mobile/android/gradle/dotgradle-offline/init.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile/android/gradle/dotgradle-offline/init.gradle b/mobile/android/gradle/dotgradle-offline/init.gradle
new file mode 100644
index 0000000000..8f06472aed
--- /dev/null
+++ b/mobile/android/gradle/dotgradle-offline/init.gradle
@@ -0,0 +1,4 @@
+// From https://discuss.gradle.org/t/enable-offline-mode-using-gradle-properties/12134/2.
+startParameter.offline = true
+// Sadly, this doesn't work: see http://stackoverflow.com/a/19686585.
+// startParameter.logLevel = org.gradle.api.logging.LogLevel.INFO