Incremental build on different machines without Gradle Enterprise

Hi guys,

I’ve asked SO question. But I feel that I need more help.

Here is origin https://stackoverflow.com/questions/46489857/gradle-incremental-on-different-machines

Is there a nicer solution without copying $GRADLE_HOME/cache folder?

Eugen

I think the build cache may help your situation, but it depends on how many of the tasks you’re running in each step that are designed to be cacheable. Just copying over .gradle and ~/.gradle will be unlikely to work.

You can use the build cache without Gradle Enterprise. We provide a backend you can start up with Docker, but there are other options: https://hub.docker.com/r/gradle/build-cache-node/

GE adds a layer of management on top of that so you can deal with multi-location or replication requirements as well as troubleshooting tools for comparing builds if you have problems.