Update 2 files
- /build.gradle - /.gitlab-ci.yml
This commit is contained in:
@@ -23,6 +23,9 @@ build: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
tags:
|
||||
- local-runner
|
||||
before_script:
|
||||
- export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-arm64
|
||||
- export PATH=$JAVA_HOME/bin:$PATH
|
||||
script:
|
||||
- echo "Compiling the code..."
|
||||
- java --version
|
||||
|
||||
@@ -11,7 +11,6 @@ description = 'Scheduler Service Backend API Server'
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
javaHome = file(System.getenv("JAVA_HOME"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user