From bd9d0d8f558cfa77c7879bc72c8a6b01ce763c9e Mon Sep 17 00:00:00 2001 From: Dueris <122416109+Dueris@users.noreply.github.com> Date: Sun, 25 Jun 2023 15:17:08 -0700 Subject: [PATCH] Added java toolchain --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c14998e48..fecd2b4e9 100644 --- a/build.gradle +++ b/build.gradle @@ -31,6 +31,9 @@ repositories { } } +java { + toolchain.languageVersion.set(JavaLanguageVersion.of(17)) +} dependencies { paperweight.paperDevBundle("1.20.1-R0.1-SNAPSHOT") @@ -76,4 +79,4 @@ publishing { from components.java } } -} \ No newline at end of file +}