Update 2 files
- /build.gradle - /.gitlab-ci.yml
This commit is contained in:
@@ -30,6 +30,6 @@ build: # This job runs in the build stage, which runs first.
|
|||||||
- echo "Compiling the code..."
|
- echo "Compiling the code..."
|
||||||
- java --version
|
- java --version
|
||||||
- chmod +x ./gradlew
|
- chmod +x ./gradlew
|
||||||
- ./gradlew build -Pprofile=prod
|
- ./gradlew build -Pprofile=prod --refresh-dependencies
|
||||||
- ls
|
- ls
|
||||||
- echo "Compile complete."
|
- echo "Compile complete."
|
||||||
@@ -11,7 +11,7 @@ description = 'Scheduler Service Backend API Server'
|
|||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion = JavaLanguageVersion.of(21)
|
languageVersion = JavaLanguageVersion.of(21)
|
||||||
vendor = JvmVendorSpec.ANY
|
vendor = JvmVendorSpec.ADOPTOPENJDK
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user