From 516dab0d29f768f009a96cc65eb4703e14bf849e Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 9 Jun 2026 07:41:34 -0500 Subject: [PATCH] Try fixing 1.12 compiling in CI --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dee997a09..838c2a280 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,11 @@ build: "1.16.5", "1.12.2" ] + before_script: + # MC 1.12.2 needs both JDK 25 (for unimined) and JDK 8 (for MC 1.12) + # hopefully downloading the JDK 8 like this will solve that problem? + - apt-get update -q + - apt-get install -y openjdk-8-jdk script: # this both runs the unit tests and assembles the code - ./gradlew clean -PmcVer="${MC_VER}" -PinfoGitCommit="${CI_COMMIT_SHA}" -PinfoGitBranch="${CI_COMMIT_BRANCH}" -PinfoBuildSource="GitLab CI (${CI_PIPELINE_ID})" --gradle-user-home cache/;