From ff0cab9b533a36c36ef1e6ffef2388b408ceeb65 Mon Sep 17 00:00:00 2001 From: albertchae <217050+albertchae@users.noreply.github.com> Date: Fri, 23 Feb 2024 21:33:43 -0800 Subject: [PATCH] Try fixing CI with Java 17 (#17) We are seeing this error, so picking Java 17 for now since it's one of the supported LTS versions https://github.com/inngest/inngest-kt/actions/runs/8028420744/job/21933603294 > Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=20, vendor=any, implementation=vendor-specific} for LINUX on x86_64. --- inngest-test-server/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inngest-test-server/build.gradle.kts b/inngest-test-server/build.gradle.kts index 4ad16192..bde91a5f 100644 --- a/inngest-test-server/build.gradle.kts +++ b/inngest-test-server/build.gradle.kts @@ -30,7 +30,7 @@ dependencies { } // Apply a specific Java toolchain to ease working on different environments. -java { toolchain { languageVersion.set(JavaLanguageVersion.of(20)) } } +java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } } application { // Define the main class for the application.