You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/23 09:51:00 UTC

[jira] [Created] (OFBIZ-13721) Update or replace the asciidoctor Gradle plugins before Gradle 10

Mridul Pathak created OFBIZ-13721:
-------------------------------------

             Summary: Update or replace the asciidoctor Gradle plugins before Gradle 10
                 Key: OFBIZ-13721
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13721
             Project: OFBiz
          Issue Type: Improvement
          Components: Gradle
    Affects Versions: Upcoming Branch
            Reporter: Mridul Pathak
            Assignee: Mridul Pathak


Since the upgrade to Gradle 9 (OFBIZ-13208), every build warns "The StartParameter.isConfigurationCacheRequested property has been deprecated. This is scheduled to be removed in Gradle 10". The call comes from the grolifant library bundled in the {{org.asciidoctor.jvm.convert}} and {{org.asciidoctor.jvm.pdf}} 4.0.5 plugins, not from our build scripts:

{code}
at org.ysb33r.grolifant.loadable.v8.DefaultProjectTools.defaultVersionProvider(DefaultProjectTools.groovy:53)
at org.asciidoctor.gradle.base.AsciidoctorBasePlugin.apply(AsciidoctorBasePlugin.groovy:46)
{code}

Both plugins are held on 4.x ({{build.gradle}} and the {{>= 5}} ignores in {{.github/dependabot.yml}}), because 5.x renamed {{org.asciidoctor.jvm.convert}} to {{org.asciidoctor.jvm}}. Check whether the asciidoctor-gradle 5.x line runs without this deprecation. If it does, migrate to it, adapting the documentation tasks ({{generateReadmeFiles}}, {{generateOfbizDocumentation}}, {{generatePluginDocumentation}}, {{generateAllPluginsDocumentation}}) and dropping the two Dependabot ignores. If no Gradle 10-ready release exists, decide whether to replace these tasks.

h3. Acceptance criteria
* A build with {{--warning-mode all}} shows no {{isConfigurationCacheRequested}} deprecation.
* The documentation tasks still generate the HTML and PDF output.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)