diff --git a/build.gradle.kts b/build.gradle.kts index 50eca8fd7..3d8830b0d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,15 +4,19 @@ plugins { id("io.papermc.paperweight.core") version "1.1.9" } -subprojects { +allprojects { apply(plugin = "java") - apply(plugin = "maven-publish") java { toolchain { languageVersion.set(JavaLanguageVersion.of(16)) } } +} + +subprojects { + apply(plugin = "java") + apply(plugin = "maven-publish") tasks.withType { options.encoding = Charsets.UTF_8.name()