Update 2 files

- /build.gradle
- /.gitlab-ci.yml
This commit is contained in:
2025-11-13 01:03:40 +00:00
parent 09525a139e
commit de84126888
2 changed files with 3 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ build: # This job runs in the build stage, which runs first.
stage: build stage: build
tags: tags:
- local-runner - local-runner
before_script:
- export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-arm64
- export PATH=$JAVA_HOME/bin:$PATH
script: script:
- echo "Compiling the code..." - echo "Compiling the code..."
- java --version - java --version

View File

@@ -11,7 +11,6 @@ description = 'Scheduler Service Backend API Server'
java { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(21) languageVersion = JavaLanguageVersion.of(21)
javaHome = file(System.getenv("JAVA_HOME"))
} }
} }