diff --git a/build.gradle.kts b/build.gradle.kts index da0c832..49e6d7d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,7 +65,7 @@ java { } tasks.withType().configureEach { - options.release = 8 + options.release = 17 } tasks.wrapper { distributionType = Wrapper.DistributionType.ALL @@ -73,10 +73,10 @@ tasks.wrapper { kotlin { jvmToolchain { - languageVersion = JavaLanguageVersion.of(8) + languageVersion = JavaLanguageVersion.of(17) } compilerOptions { - jvmTarget = JvmTarget.JVM_1_8 + jvmTarget = JvmTarget.JVM_17 } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a647007..290901d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,5 +14,5 @@ indra-publishing-sonatype = { module = "net.kyori:indra-publishing-sonatype", ve nexus-publish = { module = "io.github.gradle-nexus:publish-plugin", version.ref = "nexus-publish" } errorprone-gradle = { module = "net.ltgt.gradle:gradle-errorprone-plugin", version.ref = "gradleErrorprone" } spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" } -palantir-baseline = { module = "com.palantir.baseline:gradle-baseline-java", version = "5.37.0" } +palantir-baseline = { module = "com.palantir.baseline:gradle-baseline-java", version = "6.4.0" } palantir-revapi = "com.palantir.gradle.revapi:gradle-revapi:1.8.0"