From 7c290e6bd0a398063b3066b12a8e860ce024702f Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Jan 2022 13:26:58 +0100 Subject: [PATCH] Align plugin's java version with API java version - Java 17 (#3468) * refactor!: Align plugin's java version with API java version * fix: Bump Guice to fix private injection on Java 17 --- build.gradle.kts | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d2305ae38..84112e733 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -77,7 +77,7 @@ allprojects { } tasks.compileJava.configure { - options.release.set(16) + options.release.set(17) } configurations.all { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4d121e624..ddc104ad7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,7 +7,7 @@ guava = "31.0.1-jre" # Version set by Minecraft # Platform expectations paper = "1.18.1-R0.1-SNAPSHOT" checker-qual = "3.21.1" -guice = "5.0.1" +guice = "5.1.0" findbugs = "3.0.1" snakeyaml = "1.30" # Version set by Bukkit