Skip to content
Permalink
Browse files

Improved: Do not exclude files from component ‘config’ directories (O…

…FBIZ-11161)

With the goal of distributing OFBiz as a library in a Jar, we must
include every configuration resource files in the Jar.
  • Loading branch information
mthl committed Nov 8, 2019
1 parent eeabe69 commit 1a8860a33f7327331af54e492bde4fa8f9f1ee60
Showing with 0 additions and 13 deletions.
  1. +0 −13 build.gradle
@@ -255,18 +255,6 @@ def excludedJavaSources = [
'org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java'
]

// Files and directories present in config directories that should not be included in ofbiz.jar (see OFBIZ-8321).
def excludedConfigFiles = [
'README',
'*.txt',
'*.jks',
'fop.xconf',
'MiniLang.xslt',
'AutoImportTemplate.ftl',
'axis2',
'barcode'
]

sourceSets {
main {
java {
@@ -280,7 +268,6 @@ sourceSets {
srcDirs = getDirectoryInActiveComponentsIfExists('src/main/resources')
srcDirs += getDirectoryInActiveComponentsIfExists('config')
srcDirs += getDirectoryInActiveComponentsIfExists('dtd')
exclude excludedConfigFiles
}
}

0 comments on commit 1a8860a

Please sign in to comment.
You can’t perform that action at this time.