From 7aae5f3a3cd9d249ad43d8b5ddcf07153ac2702f Mon Sep 17 00:00:00 2001 From: TehBrian Date: Wed, 12 Jan 2022 17:33:15 -0500 Subject: [PATCH] build: use Java toolchain --- build.gradle.kts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 861940a..e3ffcb1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,8 +9,7 @@ version = "2.0.0" description = "Easily edit signs, with support for both MiniMessage and legacy color codes." java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + toolchain.languageVersion.set(JavaLanguageVersion.of(17)) } repositories {