intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

2.0 - don't add IDE version string to sandboxContainer

Open jonathanlermitage opened this issue 9 months ago • 8 comments

What happened?

Migrating to the gradle plugin v2, how can I set the full path of the sandbox container? With plugin v1, if I set intellij { sandboxDir.set("foo/") }, starting the sandboxed IDE generates folders like /foo/config, /foo/system, etc. With plugin v2, if I set intellijPlatform { sandboxContainer = File("foo/") }, starting the sandboxed IDE generates folders like /foo/IC-2024.1.1/config, /foo/IC-2024.1.1/config, etc. Is there a way to remove the sandboxed IDE version string from the sandbox container's path? It looks like a regression.

Relevant log output or stack trace

No response

Steps to reproduce

Migrate to plugin v2 and run gradlew runIde.

Gradle IntelliJ Plugin version

2.0.0-beta3

Gradle version

8.7

Operating System

Windows

Link to build, i.e. failing GitHub Action job

No response

jonathanlermitage avatar May 21 '24 14:05 jonathanlermitage