This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release24.09 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push: new ab50c975fa Improved: Updates Checkstyle to 10.20.2 ab50c975fa is described below commit ab50c975fa62fd6b86f4b8556c47d18f066c0ed6 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Fri Dec 13 11:05:21 2024 +0100 Improved: Updates Checkstyle to 10.20.2 I'll backport to 24.09 to facilitate maintenance Conflicts handled by hand --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d5d20c61aa..4f9d381079 100644 --- a/build.gradle +++ b/build.gradle @@ -278,6 +278,8 @@ checkstyle { tasks.checkstyleMain.maxErrors = 0 // Currently there are no errors so we can show new one when they appear showViolations = true + // Specify tool version so we can keep it up-to-date + toolVersion = '10.20.2' } gitHooks { hooks = ['pre-push': 'checkstyleMain codenarcMain codenarcTest'] @@ -492,8 +494,8 @@ task createTenant(group: ofbizServer, description: 'Create a new tenant in your // ========== Documentation tasks ========== tasks.withType(AsciidoctorTask) { task -> - inProcess = JAVA_EXEC - forkOptions { + executionMode = JAVA_EXEC + jvm { jvmArgs("--add-opens","java.base/sun.nio.ch=ALL-UNNAMED","--add-opens","java.base/java.io=ALL-UNNAMED") } outputOptions {