Changes most of the previous CI workflow to be much cleaner. Also made numerous changes to the build.gradle to aid in making the build cleaner. These changes include:
Completely removing the old build image that used Dockerfile. Originally, this was necessary because docker would otherwise have permission errors or create files in the project and gradle home directories belonging to root. I am undoing this because it's a pretty dirty solution (even though its technically valid), and because I have recently moved to using podman and a podman docker-compose compatibility layer. I recommend anybody planning to run ./scripts/cibuild in the future to use podman to avoid the permission issues; or use docker with userns-remap configured to properly remap to your user.
Remove everything inside ext in build.gradle. Instead of using system commands to get the current git tag and commit sha, we now use com.palantir.git-version, which is much cleaner and avoids needing to have git installed on the container; it is completely java-native with no reliance on system dependencies.
Adopt the new gradle plugin DSL as much as possible. Still have not figured out how to get ForgeGradle to work with it, so that part must remain.
Update gradle wrapper to 7.2
Move dependency version matrix to libs.versions.toml
Changes most of the previous CI workflow to be much cleaner. Also made numerous changes to the
build.gradle
to aid in making the build cleaner. These changes include:Dockerfile
. Originally, this was necessary because docker would otherwise have permission errors or create files in the project and gradle home directories belonging to root. I am undoing this because it's a pretty dirty solution (even though its technically valid), and because I have recently moved to using podman and a podman docker-compose compatibility layer. I recommend anybody planning to run./scripts/cibuild
in the future to use podman to avoid the permission issues; or use docker withuserns-remap
configured to properly remap to your user.ext
inbuild.gradle
. Instead of using system commands to get the current git tag and commit sha, we now usecom.palantir.git-version
, which is much cleaner and avoids needing to havegit
installed on the container; it is completely java-native with no reliance on system dependencies.7.2
libs.versions.toml