This commit is contained in:
modmuss50 2021-05-29 10:50:31 +01:00
parent 55b5a51ba9
commit f687334a57
2 changed files with 3 additions and 2 deletions

View File

@ -834,6 +834,7 @@ javadoc {
outputs.upToDateWhen { false }
if (ENV.CI) {
// Java 17 is provided on CI to build the javadocs with, see https://github.com/FabricMC/yarn/issues/2429
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(17)
}