-
Notifications
You must be signed in to change notification settings - Fork 3k
/
gradle.properties
25 lines (21 loc) · 1.05 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.caching=true
# Cycle daemons after 30m
org.gradle.daemon.idletimeout=1800000
# Increase gradle JVM memory to 5GB to allow tests to run locally
org.gradle.jvmargs=-Xmx5120m -XX:MaxMetaspaceSize=512m
org.gradle.workers.max=4
# Increase retries to 5 (from default of 3) and increase interval from 125ms to 1s.
# Based on this thread https://github.com/gradle/gradle/issues/4629, it's unclear
# if we should be using systemProp or not. We're using both for now.
org.gradle.internal.repository.max.retries=5
org.gradle.internal.repository.max.tentatives=5
org.gradle.internal.repository.initial.backoff=1000
systemProp.org.gradle.internal.http.connectionTimeout=120000
systemProp.org.gradle.internal.http.socketTimeout=120000
systemProp.org.gradle.internal.repository.max.retries=5
systemProp.org.gradle.internal.repository.max.tentatives=5
systemProp.org.gradle.internal.repository.initial.backoff=1000
# Needed to publish to Nexus from a sub-module
gnsp.disableApplyOnlyOnRootProjectEnforcement=true