This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit f0720fbae0ae8241c40a70386572b5b8b9df55bf
Author: Andrzej BiaƂecki <[email protected]>
AuthorDate: Thu Sep 24 10:40:08 2026 +0200

    SOLR-18478: Fix NPE in checkSiteLinks due to the changed behavior in Gradle 
9 (#4938)
    
    (cherry picked from commit 9c7186381228cb0be12cc3bc38a76e9329be864a)
---
 solr/solr-ref-guide/build.gradle | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle
index cf95613fecb..1fc8634a6e2 100644
--- a/solr/solr-ref-guide/build.gradle
+++ b/solr/solr-ref-guide/build.gradle
@@ -485,8 +485,7 @@ task checkSiteLinks(type: NpxTask) {
 
   def outputFile = "${buildDir}/validation/link-check.json"
   execOverrides {
-    // The it variable contains the `ExecSpec`
-    it.standardOutput = new TeeOutputStream(it.standardOutput, new 
FileOutputStream(outputFile))
+    it.standardOutput = new TeeOutputStream(System.out, new 
FileOutputStream(outputFile))
   }
 
   inputs.files(fileTree(siteDir))

Reply via email to