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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cf9bda6d5a Fixed: The README.html file is no longer copied on site 
(OFBIZ-12758)
cf9bda6d5a is described below

commit cf9bda6d5a60e407f2b7467207e4b09e4018e85e
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed Feb 22 10:26:53 2023 +0100

    Fixed: The README.html file is no longer copied on site (OFBIZ-12758)
    
    Put back pdf generation in Linux. It was not the problem
---
 build.gradle | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index 86b0e7ef81..3668a4a974 100644
--- a/build.gradle
+++ b/build.gradle
@@ -595,13 +595,12 @@ tasks.withType(AsciidoctorTask) { task ->
             
jvmArgs("--add-opens","java.base/sun.nio.ch=ALL-UNNAMED","--add-opens","java.base/java.io=ALL-UNNAMED")
         }
     outputOptions {
-        backends = ['html5']
-        /* I hate we have to do this - but JRuby (asciidoctorj-pdf) and 
Windows don't mix well
+         // I hate we have to do this - but JRuby (asciidoctorj-pdf) and 
Windows don't mix well
         if (System.properties['os.name'].toLowerCase().contains('windows')) {
             backends = ['html5']
         } else {
-            backends = ['html5']
-        }*/
+            backends = ['html5', 'pdf']
+        }
     }
     attributes \
         'doctype': 'book',

Reply via email to