-
-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Since IDEA 2024.2, module dependencies in the `.iml` files are no longer interpreted transitively. Therefore, we need to unroll all transitive module dependencies when generating the project files. Fix #3354 Original Pull request: #3355 Pull request: #3358
- Loading branch information
Showing
11 changed files
with
121 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
integration/ide/gen-idea/repo/hello-idea/idea/mill_modules/modulea.iml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager"> | ||
<output url="file://$MODULE_DIR$/../../out/moduleA/ideaCompileOutput.dest/classes"/> | ||
<exclude-output/> | ||
<content url="file://$MODULE_DIR$/../../moduleA"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleA/src" isTestSource="false"/> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleA/resources" type="java-resource"/> | ||
</content> | ||
<orderEntry type="inheritedJdk"/> | ||
<orderEntry type="sourceFolder" forTests="false"/> | ||
</component> | ||
</module> |
13 changes: 13 additions & 0 deletions
13
integration/ide/gen-idea/repo/hello-idea/idea/mill_modules/moduleb.iml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager"> | ||
<output url="file://$MODULE_DIR$/../../out/moduleB/ideaCompileOutput.dest/classes"/> | ||
<exclude-output/> | ||
<content url="file://$MODULE_DIR$/../../moduleB"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleB/src" isTestSource="false"/> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleB/resources" type="java-resource"/> | ||
</content> | ||
<orderEntry type="inheritedJdk"/> | ||
<orderEntry type="sourceFolder" forTests="false"/> | ||
<orderEntry type="module" module-name="modulea" exported=""/> | ||
</component> | ||
</module> |
15 changes: 15 additions & 0 deletions
15
integration/ide/gen-idea/repo/hello-idea/idea/mill_modules/modulec.iml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager"> | ||
<output url="file://$MODULE_DIR$/../../out/moduleC/ideaCompileOutput.dest/classes"/> | ||
<exclude-output/> | ||
<content url="file://$MODULE_DIR$/../../moduleC"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleC/src" isTestSource="false"/> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleC/resources" type="java-resource"/> | ||
</content> | ||
<orderEntry type="inheritedJdk"/> | ||
<orderEntry type="sourceFolder" forTests="false"/> | ||
<orderEntry type="module" module-name="modulea" exported=""/> | ||
<orderEntry type="module" module-name="moduleb" exported=""/> | ||
<orderEntry type="module" module-name="modulee" exported="" scope="PROVIDED"/> | ||
</component> | ||
</module> |
15 changes: 15 additions & 0 deletions
15
integration/ide/gen-idea/repo/hello-idea/idea/mill_modules/moduled.iml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager"> | ||
<output url="file://$MODULE_DIR$/../../out/moduleD/ideaCompileOutput.dest/classes"/> | ||
<exclude-output/> | ||
<content url="file://$MODULE_DIR$/../../moduleD"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleD/src" isTestSource="false"/> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleD/resources" type="java-resource"/> | ||
</content> | ||
<orderEntry type="inheritedJdk"/> | ||
<orderEntry type="sourceFolder" forTests="false"/> | ||
<orderEntry type="module" module-name="modulea" exported="" scope="PROVIDED"/> | ||
<orderEntry type="module" module-name="moduleb" exported="" scope="PROVIDED"/> | ||
<orderEntry type="module" module-name="modulec" exported="" scope="PROVIDED"/> | ||
</component> | ||
</module> |
12 changes: 12 additions & 0 deletions
12
integration/ide/gen-idea/repo/hello-idea/idea/mill_modules/modulee.iml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager"> | ||
<output url="file://$MODULE_DIR$/../../out/moduleE/ideaCompileOutput.dest/classes"/> | ||
<exclude-output/> | ||
<content url="file://$MODULE_DIR$/../../moduleE"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleE/src" isTestSource="false"/> | ||
<sourceFolder url="file://$MODULE_DIR$/../../moduleE/resources" type="java-resource"/> | ||
</content> | ||
<orderEntry type="inheritedJdk"/> | ||
<orderEntry type="sourceFolder" forTests="false"/> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters