Skip to content

Commit

Permalink
Disable Gradle (incubating) configuration-on-demand as a workaround t…
Browse files Browse the repository at this point in the history
…o fix CI issues

See [1] for the upstream issue and [2] for the workaround explanation.

[1] gradle/gradle#4823
[2] gradle/kotlin-dsl-samples#607 (comment)
  • Loading branch information
rm3l committed Oct 27, 2021
1 parent 2d57630 commit ad3a93e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
org.gradle.caching=true

# Enables incubating configuration on demand, where Gradle will attempt to configure only necessary projects.
org.gradle.configureondemand=true
# Might cause issues with CI builds if enabled. See https://github.com/gradle/gradle/issues/4823
org.gradle.configureondemand=false

# Gradle will fork up to org.gradle.workers.max JVMs to execute projects in parallel.
# Maximum number of workers defaults to the number of CPU processors
Expand Down

0 comments on commit ad3a93e

Please sign in to comment.