You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2026/04/13 13:18:37 UTC

(ofbiz-framework) 02/05: Fixed: Remove org.asciidoctor.jvm.pdf that doesn't work since several months and is incompatible with the current version of Gradle and its plugins

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

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

commit e267007f089d12bfb94171c16e17654bf15f5527
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Fri Apr 10 09:52:21 2026 +0200

    Fixed: Remove org.asciidoctor.jvm.pdf that doesn't work since several months and is incompatible with the current version of Gradle and its plugins
    
    (cherry picked from commit 33b4879b57c2605d0be7ed7ffa73b5b462b02e7e)
---
 build.gradle | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/build.gradle b/build.gradle
index 8f335a9ff4..5d44515dac 100644
--- a/build.gradle
+++ b/build.gradle
@@ -29,14 +29,26 @@ plugins {
     id 'checkstyle'
     id 'codenarc'
     id 'maven-publish'
-    id 'org.asciidoctor.jvm.convert' version '3.3.2' // 4.0.2 does not compile
-    id 'org.asciidoctor.jvm.pdf' version '3.3.2'     // 4.0.2 does not compile
-    id 'org.owasp.dependencycheck' version '9.2.0' apply false //Not tested after 7.4.4
-    id 'se.patrikerdes.use-latest-versions' version '0.2.19' apply false
-    id 'com.github.ben-manes.versions' version '0.53.0' apply false
-    id "com.github.ManifestClasspath" version "0.1.0-RELEASE"
-    id "com.github.jakemarsden.git-hooks" version "0.0.2"
-    id "com.github.node-gradle.node" version '7.1.0' apply false
+    id "org.asciidoctor.jvm.convert" version "latest.release"
+    id "org.owasp.dependencycheck" version "latest.release" apply false
+    //id 'se.patrikerdes.use-latest-versions' version '0.2.18' apply false
+    id "se.patrikerdes.use-latest-versions"  version "latest.release" apply false
+    id "com.github.ben-manes.versions" version "latest.release" apply false
+    id "com.github.ManifestClasspath" version "latest.release"
+    id "com.github.jakemarsden.git-hooks" version "latest.release"
+    id "com.github.node-gradle.node" version "latest.release" apply false
+}
+
+/* OWASP plugin
+ *
+ * If project property "enableOwasp" is flagged then
+ * gradle will download required dependencies and
+ * activate Gradle's OWASP plugin and its related tasks.
+ *
+ * Syntax: gradlew -PenableOwasp dependencyCheckAnalyze
+ */
+if (project.hasProperty('enableOwasp')) {
+    apply plugin: 'org.owasp.dependencycheck'
 }
 
 /* DependencyUpdates plugin