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 :/
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user