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
|
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
|
||||||
|
|||||||
@@ -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"))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user