Hello all! I am in the process of enabling gradle ...
# community-support
r
Hello all! I am in the process of enabling gradle configuration cache on our builds. It works fine locally. but I was hoping to see if anyone was able to gleam CI benefits from this. Currently in Bitrise I am always seeing something like
Calculating task graph as no cached configuration is available for tasks
, even if nothing has changed since the last build. Is there something I need to do in Bitrise to persist that cache? I understand that encryption might be happening which prevents good matches across CI jobs. Is that true?
v
Basically, yes. Assuming you have ephemeral build agents, you can configure an encryption key and then need to cache various things. And it should currently only work if those build agents are identical environment-wise (filesystem paths where the built project exists on the build agent). The configuration cache is not yet relocatable or shareable officially. But you can have a look at the official GitHub action which has support for configuration cache reuse.
❤️ 1