Reorder and optimize dependencies between modules and libraries

- drop 'kotlin-runtime' and other dependencies which are exported by
  other modules ('util' and 'util.runtime' in case of 'kotlin-runtime')
- make all Kotlin modules from the compiler depend on 'util' for clarity
- put 'util' and 'util.runtime' to the bottom of the list everywhere: when
  kotlin-runtime gets reflection, classes from core/ should have higher
  priority than their previous versions from kotlin-runtime.jar

Original commit: 5903b8c4a7
This commit is contained in:
Alexander Udalov
2015-01-27 22:35:13 +03:00
parent 8436a8e119
commit ecae29aa3c
2 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -7,9 +7,8 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-runtime" level="project" />
<orderEntry type="module" module-name="jps-plugin" />
<orderEntry type="library" name="idea-full" level="project" />
<orderEntry type="module" module-name="jps-plugin" />
<orderEntry type="library" name="kotlin-runtime" level="project" />
</component>
</module>
</module>
+2 -2
View File
@@ -10,16 +10,16 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="ide-compiler-runner" />
<orderEntry type="module" module-name="cli-common" />
<orderEntry type="module" module-name="util" />
<orderEntry type="library" name="jps" level="project" />
<orderEntry type="library" scope="TEST" name="jps-test" level="project" />
<orderEntry type="library" scope="TEST" name="idea-full" level="project" />
<orderEntry type="module" module-name="backend" scope="TEST" />
<orderEntry type="module" module-name="descriptors" />
<orderEntry type="module" module-name="frontend.java" />
<orderEntry type="module" module-name="serialization.jvm" />
<orderEntry type="module" module-name="serialization" />
<orderEntry type="module" module-name="serialization.jvm" />
<orderEntry type="module" module-name="compiler-tests" scope="TEST" />
<orderEntry type="library" name="asm" level="project" />
<orderEntry type="module" module-name="util" />
</component>
</module>