OASIS-learn-study / minecraft-storeys-maker

Minecraft extension to make your own stories in, with and for Minecraft - it's like being a movie director!
https://www.learn.study
GNU Affero General Public License v3.0
14 stars 10 forks source link

Cache Gradle download in build container #393

Closed vorburger closed 1 year ago

vorburger commented 2 years ago

This avoids re-re-re-downloading Gradle for every build.

It was originally in #392 but was was then factored out from there to unblock that.

As described there, as-is this won't work yet on GCB with docker instead of podman, because docker build -v does not work (unlike with podman).

I'll fix that later; probably by COPY-ing the .gradlew and gradle/wrapper/* etc. in the Dockerfile-build.

vorburger commented 1 year ago

I'll fix that later; probably by COPY-ing the .gradlew and gradle/wrapper/* etc. in the Dockerfile-build.

Done! @edewit this should pass the build - review and merge it when it does?