Skip to content

Multiple copies of IDE distribution in Gradle cache + reindexing problem #1601

Open
@chashnikov

Description

@chashnikov

What happened?

I migrated a project to IntelliJ Platform Gradle Plugin 2.0 and specified intellijIdeaUltimate("2024.1") in build.gradle.kts and didn't change it. However, after a few hours of work, I found that the Gradle cache contains six copies of IDEA Ultimate distribution:

nik@nik-workstation:~/.gradle/caches/transforms-3$ find -name ideaIU-2024.1
./e0d45b10a0ea56c67b8eef1a3248a586/transformed/ideaIU-2024.1
./d89f9fc4990ceec8ab9fc252d20afe96/transformed/ideaIU-2024.1
./80050e3b4d7632fe5e49c5042913887a/transformed/ideaIU-2024.1
./7167bc64f2f585d0ea26534a74c92e9a/transformed/ideaIU-2024.1
./b91bb87b6350df68a77c91dc42a6215e/transformed/ideaIU-2024.1
./172cec470fbf4c2fa3c0a0f57e6b823c/transformed/ideaIU-2024.1

Since each distribution occupies 3.3Gb, it's quite a lot of space.

Steps to reproduce

Not when exactly new copies are created.

Gradle IntelliJ Plugin version

2.0.0-SNAPSHOT

Gradle version

8.5

Operating System

Linux

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions