Skip to content

Commit

Permalink
Disable the gradle configuration cache (pinterest#1968)
Browse files Browse the repository at this point in the history
The configuration cache is not yet supported by all tasks used in the build pipelines. For all github workflows the configuration-cache was already disabled. But also on the local machine, this now causes a simple task like `gradlew test` to fail as the `shadowJar` task is invoked which fails with error:
- Task `:ktlint-cli:shadowJarExecutable` of type `org.gradle.api.DefaultTask`: cannot serialize Gradle script object references as these are not supported with the configuration cache.
  • Loading branch information
paul-dingemans committed Apr 22, 2023
1 parent e7979c9 commit e62e569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ POM_DEVELOPER_NAME=Pinterest, Inc.
org.gradle.jvmargs=-Xmx4g
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache=false

0 comments on commit e62e569

Please sign in to comment.