Modules.xml: add Java sources right after Kotlin sources
Java sources should appear before classpath dependencies because they should have higher priority if the same symbol is located in the module source and in the classpath. This is so because by default module source has the highest priority in IDEA except the JDK. Ideally this will be handled later by full support of modules in the compiler
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
<sources path="s1"/>
|
||||
<sources path="s2"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path= "a1/f1"/>
|
||||
<externalAnnotations path= "a2"/>
|
||||
<externalAnnotations path="a1/f1"/>
|
||||
<externalAnnotations path="a2"/>
|
||||
<!-- s1 -->
|
||||
<!-- Output directory, commented out -->
|
||||
<!--
|
||||
@@ -18,8 +18,8 @@
|
||||
<sources path="s12"/>
|
||||
<sources path="s22"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path= "a12/f12"/>
|
||||
<externalAnnotations path= "a22"/>
|
||||
<externalAnnotations path="a12/f12"/>
|
||||
<externalAnnotations path="a22"/>
|
||||
<!-- s12 -->
|
||||
<!-- Output directory, commented out -->
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user