mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 21:59:02 +00:00
Pin Antora's Node version to 24.14.1
24.15.0 regularly crashes during Windows CI builds. The suspected cause is nodejs/node#62991. Closes gh-50295
This commit is contained in:
@@ -28,6 +28,7 @@ import java.util.Map;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.github.gradle.node.NodeExtension;
|
||||
import com.github.gradle.node.NodePlugin;
|
||||
import com.github.gradle.node.npm.task.NpmInstallTask;
|
||||
import io.spring.gradle.antora.GenerateAntoraYmlPlugin;
|
||||
import io.spring.gradle.antora.GenerateAntoraYmlTask;
|
||||
@@ -122,6 +123,9 @@ public class AntoraConventions {
|
||||
});
|
||||
checkAntoraJavadocMacros.configure((macrosTask) -> macrosTask.setClasspath(javadocMacros));
|
||||
});
|
||||
project.getPlugins()
|
||||
.withType(NodePlugin.class,
|
||||
(node) -> project.getExtensions().getByType(NodeExtension.class).getVersion().set("24.14.1"));
|
||||
}
|
||||
|
||||
private void configureGenerateAntoraPlaybookTask(Project project,
|
||||
|
||||
Reference in New Issue
Block a user