Skip to content

Commit

Permalink
Bump serveDocs Java version to 21 (#28174)
Browse files Browse the repository at this point in the history
  • Loading branch information
bot-gradle committed Feb 22, 2024
2 parents 5acf2a0 + ea5b674 commit a743b5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void addUtilityTasks(TaskContainer tasks, GradleDocumentationExtension e
int webserverPort = 8000;
task.getJavaLauncher().set(
task.getProject().getExtensions().getByType(JavaToolchainService.class)
.launcherFor(spec -> spec.getLanguageVersion().set(JavaLanguageVersion.of(18)))
.launcherFor(spec -> spec.getLanguageVersion().set(JavaLanguageVersion.of(21)))
);
task.workingDir(extension.getDocumentationRenderedRoot());
task.getMainModule().set("jdk.httpserver");
Expand Down

0 comments on commit a743b5f

Please sign in to comment.