From 24569a4c49daa0987ff48178bc8a97d1da66a1d8 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 7 May 2021 14:06:24 +0530 Subject: [PATCH] gradle: use longer timeouts for Gradle publish tasks Signed-off-by: Harsh Shandilya --- gradle.properties | 5 +++++ 1 file changed, 5 insertions(+) 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