Try caching gradle dist dir.