From 977d2afb0ffb7eae81fa513daef0d113ede55a34 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Tue, 25 Aug 2020 15:00:52 +0200 Subject: [PATCH] Improved: svg files not removed on clean (OFBIZ-11976) After removing the temporary diles in generateAllPluginsDocumentation this removes them also in generatePluginDocumentation. Despite that they still appear after simply running gradlew ofbiz (without any change), I mean: ofbiz-framework\plugins\birt\src\docs\asciidoc\images\OFBiz-Logo.svg ofbiz-framework\plugins\ebay\src\docs\asciidoc\images\OFBiz-Logo.svg ofbiz-framework\plugins\ldap\src\docs\asciidoc\images\OFBiz-Logo.svg ofbiz-framework\plugins\myportal\src\docs\asciidoc\images\OFBiz-Logo.svg ofbiz-framework\plugins\projectmgr\src\docs\asciidoc\images\OFBiz-Logo.svg ofbiz-framework\plugins\solr\src\docs\asciidoc\images\OFBiz-Logo.svg I have no ideas why :/ --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index bb2071c6eb..cf3d68c5c7 100644 --- a/build.gradle +++ b/build.gradle @@ -573,6 +573,7 @@ task generatePluginDocumentation(group: docsGroup) { } else { println "No documentation found for plugin ${component.name}" } + doLast { delete "${component}/src/docs/asciidoc/images/OFBiz-Logo.svg" } mustRunAfter deletePluginDocumentation } dependsOn pluginAsciidoc