In gradle we must define both the java sources and resources (non-java files) that allow the system to start correctly.
Currently, the sources are defined as the folders for each component in /src/main/java and the resources are defined as the /config directory in each component. However, this is not necessary because many components have a config directory which is not related to the runtime resources needed for OFBiz to run. So we need to identify and shortlist the resources essential for the system to actually run. We should do that in the sourcesets block.