Skip to content

Commit 0a0dfa3

Browse files
hfhbdosipxd
andauthored
Tweak Gradle configuration phase (#4824)
* Store multiple Gradle CC entries * Enable configuration on demand by default --------- Co-authored-by: Osip Fatkullin <[email protected]>
1 parent 8c878b2 commit 0a0dfa3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,13 @@ org.gradle.caching=true
4848
org.gradle.parallel=true
4949
org.gradle.configuration-cache=true
5050
org.gradle.configuration-cache.parallel=true
51+
org.gradle.configuration-cache.entries-per-key=3
5152
org.gradle.kotlin.dsl.allWarningsAsErrors=true
5253

54+
# Speeds up the configuration phase but might cause problems with running some tasks on a single module.
55+
# If you experience problems with this flag, try to add `--no-configure-on-demand` or set this flag to `false`
56+
org.gradle.configureondemand=true
57+
5358
# kotlin
5459
kotlin.native.ignoreDisabledTargets=true
5560
kotlin.mpp.stability.nowarn=true

0 commit comments

Comments
 (0)