Add warning in case similar module names
This commit is contained in:
@@ -221,6 +221,10 @@ public class JsConfig {
|
||||
}
|
||||
}
|
||||
|
||||
if (modules.contains(getModuleId())) {
|
||||
report.warning("Module \"" + getModuleId() + "\" depends from module with the same name");
|
||||
}
|
||||
|
||||
Set<String> friendLibsSet = new HashSet<>(getFriends());
|
||||
metadata.addAll(metadataList);
|
||||
if (friendLibsSet.contains(path)){
|
||||
|
||||
Reference in New Issue
Block a user