diff --git a/buildSrc/src/main/kotlin/AdapterConfig.kt b/buildSrc/src/main/kotlin/AdapterConfig.kt index c21696fee..fbb500f0a 100644 --- a/buildSrc/src/main/kotlin/AdapterConfig.kt +++ b/buildSrc/src/main/kotlin/AdapterConfig.kt @@ -4,7 +4,7 @@ // For specific version pinning, see // https://papermc.io/repo/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/ -fun Project.applyPaperweightAdapterConfiguration(javaRelease: Int = 16) { +fun Project.applyPaperweightAdapterConfiguration(javaRelease: Int = 17) { applyCommonConfiguration() apply(plugin = "java-library") applyCommonJavaConfiguration( diff --git a/buildSrc/src/main/kotlin/CommonJavaConfig.kt b/buildSrc/src/main/kotlin/CommonJavaConfig.kt index 9f8a7c1a1..1c424dfb8 100644 --- a/buildSrc/src/main/kotlin/CommonJavaConfig.kt +++ b/buildSrc/src/main/kotlin/CommonJavaConfig.kt @@ -11,7 +11,7 @@ import org.gradle.kotlin.dsl.get import org.gradle.kotlin.dsl.withType -fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, javaRelease: Int = 16, banSlf4j: Boolean = true) { +fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, javaRelease: Int = 17, banSlf4j: Boolean = true) { applyCommonConfiguration() apply(plugin = "eclipse") apply(plugin = "idea") diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index 7a2390b7e..4794605e1 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -11,7 +11,7 @@ import org.gradle.kotlin.dsl.register import kotlin.collections.set -fun Project.applyPlatformAndCoreConfiguration(javaRelease: Int = 16) { +fun Project.applyPlatformAndCoreConfiguration(javaRelease: Int = 17) { applyCommonConfiguration() apply(plugin = "java") apply(plugin = "maven-publish") diff --git a/worldedit-bukkit/adapters/adapter-1.17.1/build.gradle.kts b/worldedit-bukkit/adapters/adapter-1.17.1/build.gradle.kts index 57b5ecc73..b7d4b1005 100644 --- a/worldedit-bukkit/adapters/adapter-1.17.1/build.gradle.kts +++ b/worldedit-bukkit/adapters/adapter-1.17.1/build.gradle.kts @@ -1,4 +1,4 @@ -applyPaperweightAdapterConfiguration(javaRelease = 16) +applyPaperweightAdapterConfiguration(javaRelease = 17) dependencies { paperDevBundle("1.17.1-R0.1-20211219.175449-201")