From 7a5526f987d253acdce402439c8a25d63ce313b1 Mon Sep 17 00:00:00 2001 From: jbb01 <32650546+jbb01@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:59:41 +0200 Subject: [PATCH] configure java version and main class in gradle --- build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 384c5b6..8a18ed7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,16 @@ plugins { id("java") + id("application") +} + +java { + toolchain { + languageVersion = JavaLanguageVersion.of(22) + } +} + +application { + mainClass = "eu.jonahbauer.raytracing.Main" } dependencies {