Questions tagged [gradle-configuration-cache]

2 questions
2
votes
0 answers

Using getProject() with Gradle Configuration Cache

Gradle documentation states that using the getProject() method in the @TaskAction method of a Task class should not be used if you want compatibility with Gradle Configuration Cache. The question I have is that, suppose you have something like…
Kelvin Chung
  • 1,327
  • 1
  • 11
  • 23
0
votes
1 answer

Gradle configuration cache works on local machine but fails on GitHub Actions

In gradle.properties I'm setting org.gradle.unsafe.configuration-cache=true This works without errors on my local machine. The output is: 0 problems were found storing the configuration cache. When I set up a job on GitHub Actions, it only…