public static Collection<ResourceFile> getModuleLibDirectories(Collection<GModule> modules) {
		List<ResourceFile> libraryDirectories = new ArrayList<>();
		for (GModule module : modules) {
			module.collectExistingModuleDirs(libraryDirectories, "lib");
			module.collectExistingModuleDirs(libraryDirectories, "libs");
		}
		return libraryDirectories;
	}
Gets the library directories from the given modules.
<p>
In {@link SystemUtilities#isInReleaseMode() release mode}, we expect these directories to
be in each module's <code>lib</code> subdirectory.
<p>
If not in release mode (i.e., {@link SystemUtilities#isInDevelopmentMode() development mode},
{@link SystemUtilities#isInTestingMode() testing mode}, etc), we expect these directories to
be in each module's <code>build/libs</code> subdirectory.
<p>
NOTE: If Eclipse is being used this method may still return jars built by Gradle.  It is up
to the caller of this method to determine if they should be used instead of the classes
compiled by Eclipse.

@param modules The modules to get the library directories of.
@return A collection of library directories from the given modules.
Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java