mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
IDEA: fix copying sources from dependant modules
This commit is contained in:
parent
50573f4f06
commit
773d40aa37
|
@ -489,6 +489,9 @@ class TeaVMBuild {
|
||||||
if (dependencyOutput != null) {
|
if (dependencyOutput != null) {
|
||||||
classPathEntries.add(dependencyOutput.getPath());
|
classPathEntries.add(dependencyOutput.getPath());
|
||||||
}
|
}
|
||||||
|
for (JpsModuleSourceRoot sourceRoot : moduleDependency.getModule().getSourceRoots()) {
|
||||||
|
buildStrategy.addSourcesDirectory(sourceRoot.getFile().getAbsolutePath());
|
||||||
|
}
|
||||||
} else if (dependency instanceof JpsLibraryDependency) {
|
} else if (dependency instanceof JpsLibraryDependency) {
|
||||||
JpsLibrary library = ((JpsLibraryDependency) dependency).getLibrary();
|
JpsLibrary library = ((JpsLibraryDependency) dependency).getLibrary();
|
||||||
if (library == null) {
|
if (library == null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user