[kotlin] Make project model updater not add rename history

GitOrigin-RevId: 02897474fe422c4530bf9595d9e69a85ebe2337a
This commit is contained in:
EgorKulikov
2024-05-17 16:37:49 +02:00
committed by intellij-monorepo-bot
parent c7f4227129
commit c8605a5e01
2 changed files with 0 additions and 6 deletions

1
.idea/modules.xml generated
View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ModuleRenamingHistory" />
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/android/android/prebuilts/sdktools/android.sdktools.adblib.iml" filepath="$PROJECT_DIR$/android/android/prebuilts/sdktools/android.sdktools.adblib.iml" />

View File

@@ -97,11 +97,6 @@ private fun cloneModuleStructure(monorepoRoot: File, communityRoot: File) {
val communityModuleRenames = readModuleRenames(communityModulesXml)
val newCommunityModulesXmlContent = xml("project", "version" to "4") {
if (communityModules.isNotEmpty()) {
xml("component", "name" to "ModuleRenamingHistory") {
communityModuleRenames.forEach { (old, new) -> xml("module", "old-name" to old, "new-name" to new) }
}
}
xml("component", "name" to "ProjectModuleManager") {
xml("modules") {
for (module in communityModules.values) {