From 2729985db876d33de8b9a040c03da982b424c427 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 17 Nov 2021 16:55:32 -0800 Subject: [PATCH] Use java toolchains --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 92857ee..29e6fd5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,6 +11,10 @@ group = "io.papermc.paperweight" version = "1.0.0-SNAPSHOT" description = "Test plugin for paperweight-userdev" +java { + toolchain.languageVersion.set(JavaLanguageVersion.of(17)) +} + dependencies { paperDevBundle("1.17.1-R0.1-SNAPSHOT") }