Cache gradle wrapper, and dependencies between jobs.
See https://docs.gitlab.com/ee/ci/caching/ and https://docs.gitlab.com/ee/ci/yaml/