diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f87c9a..0161250 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,3 +11,5 @@ jobs: call-build: uses: KyoriPowered/.github/.github/workflows/shared-ci.yaml@trunk secrets: inherit + with: + runtime_version: 17 diff --git a/build.gradle b/build.gradle index 0987c9a..39314b7 100644 --- a/build.gradle +++ b/build.gradle @@ -60,6 +60,9 @@ allprojects { ci true publishing true } + javaVersions { + minimumToolchain 17 + } mitLicense() checkstyle(libs.versions.checkstyle.get()) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2c23d1e..afc5e3f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,7 @@ checkstyle = "10.23.0" indra = "3.1.3" junit = "5.12.1" stylecheck = "0.2.1" -errorprone = "2.30.0" +errorprone = "2.38.0" [libraries] jetbrainsAnnotations = "org.jetbrains:annotations:25.0.0" @@ -26,7 +26,7 @@ errorprone = { module = "com.google.errorprone:error_prone_core", version.ref = zCheckstyle = { module = "com.puppycrawl.tools:checkstyle", version.ref = "checkstyle" } [plugins] -errorprone = "net.ltgt.errorprone:4.0.1" +errorprone = "net.ltgt.errorprone:4.2.0" indra = { id = "net.kyori.indra", version.ref = "indra" } indra-checkstyle = { id = "net.kyori.indra.checkstyle", version.ref = "indra" } indra-licenserSpotless = { id = "net.kyori.indra.licenser.spotless", version.ref = "indra" }