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

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


The following commit(s) were added to refs/heads/main by this push:
     new 9c718638122 SOLR-18478: Fix NPE in checkSiteLinks due to the changed 
behavior in Gradle 9 (#4938)
9c718638122 is described below

commit 9c7186381228cb0be12cc3bc38a76e9329be864a
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)
---
 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