diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-05-07 14:06:24 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-05-07 14:06:44 +0530 |
commit | 24569a4c49daa0987ff48178bc8a97d1da66a1d8 (patch) | |
tree | 8ab3e5eb896668c51dafa1de877bc81e892f993e | |
parent | b448d605f0fd68e8ff22e2763813498e3f1d24b0 (diff) |
gradle: use longer timeouts for Gradle publish tasks
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | gradle.properties | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gradle.properties b/gradle.properties index 37f9adaf..efed7483 100644 --- a/gradle.properties +++ b/gradle.properties @@ -28,3 +28,8 @@ android.namespacedRClass=true # Suppress warnings for some features that aren't yet stabilized android.suppressUnsupportedOptionWarnings=android.enableR8.fullMode,android.useMinimalKeepRules,android.namespacedRClass,android.suppressUnsupportedOptionWarnings + +# OSSRH sometimes struggles with slow deployments, so this makes Gradle +# more tolerant to those delays. +systemProp.org.gradle.internal.http.connectionTimeout=500000 +systemProp.org.gradle.internal.http.socketTimeout=500000 |