diff --git a/build.gradle b/build.gradle index c366a89d..2bc2f674 100644 --- a/build.gradle +++ b/build.gradle @@ -79,8 +79,12 @@ processResources { } java { - withSourcesJar() - // withJavadocJar() + toolchain { + languageVersion = JavaLanguageVersion.of(javaVersion) + vendor = JvmVendorSpec.MICROSOFT + } + withSourcesJar() + // withJavadocJar() } jar {