Support circular dependencies
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<modules>
|
||||
<!-- Module script for production -->
|
||||
<module name="name" outputDir="output">
|
||||
<sources path="s1"/>
|
||||
<sources path="s2"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path= "a1/f1"/>
|
||||
<externalAnnotations path= "a2"/>
|
||||
<!-- s1 -->
|
||||
<!-- Output directory, commented out -->
|
||||
<!--
|
||||
<classpath path="cp1"/>
|
||||
-->
|
||||
<classpath path="cp2"/>
|
||||
</module>
|
||||
<!-- Module script for tests -->
|
||||
<module name="name2" outputDir="output2">
|
||||
<sources path="s12"/>
|
||||
<sources path="s22"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path= "a12/f12"/>
|
||||
<externalAnnotations path= "a22"/>
|
||||
<!-- s12 -->
|
||||
<!-- Output directory, commented out -->
|
||||
<!--
|
||||
<classpath path="cp12"/>
|
||||
-->
|
||||
<classpath path="cp22"/>
|
||||
</module>
|
||||
</modules>
|
||||
Reference in New Issue
Block a user