From cdb2b4c7ad0e8eedfd4e2451b2f03a4ee4754845 Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Sat, 20 Jan 2024 14:22:32 +0100 Subject: [PATCH] Updated jitpack.yml --- build.gradle | 4 ++++ jitpack.yml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index c8db95b..206aadc 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,10 @@ java { withSourcesJar() withJavadocJar() + toolchain { + languageVersion = JavaLanguageVersion.of(17) + } + sourceCompatibility = JavaVersion.VERSION_16 targetCompatibility = JavaVersion.VERSION_16 } diff --git a/jitpack.yml b/jitpack.yml index 320011e..563b86e 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,6 +1,6 @@ -# Deploys the latest stable JDK available and sets it to default without having to manually specify it here, +# Deploys the latest stable JDK 17 available and sets it to default without having to manually specify it here, # Which includes using temurin as the distribution. before_install: - curl -s "https://get.sdkman.io" | bash - source ~/.sdkman/bin/sdkman-init.sh - - sdk install java + - sdk install java 17.0.10-tem \ No newline at end of file