Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliJ Platform Gradle Plugin: JetBrains Runtime #1306

Merged
merged 10 commits into from
May 28, 2024
Merged

IntelliJ Platform Gradle Plugin: JetBrains Runtime #1306

merged 10 commits into from
May 28, 2024

Conversation

hsz
Copy link
Member

@hsz hsz commented May 14, 2024

No description provided.

@YannCebron
Copy link
Member

There's some duplication with existing page that must be avoided.

https://plugins.jetbrains.com/docs/intellij/ide-development-instance.html#using-jetbrains-runtime-in-gradle-and-devkit

The IntelliJ Platform Gradle Plugin requires JetBrains Runtime (JBR) for running IDE locally, testing, or performing other actions that require Java Runtime adjusted by JetBrains.

For the best experience, it is recommended to rely on JetBrains Runtime bundled with the IntelliJ Platform used for development.
If one is not available, i.e., when targeting IntelliJ Platform snapshot or nightly releases, there are other ways available for providing JetBrains Runtime in a required version or variant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since when do snapshot releases not contain JBR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't exactly remember, but 2022.3.3 already doesn't have it.

## Obtained with IntelliJ Platform from Maven

If the IntelliJ Platform is resolved with the IntelliJ Maven Repository instead of JetBrains Download CDN, it has no JetBrains Runtime (JBR) bundled.
In such a case, it is necessary to provide it in the suitable version with the version read from the <path>[intellijPlatform]/dependencies.txt</path> file.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[intellijPlatform]/dependencies.txt is unclear to me. Is it the IDE home directory? Maybe an example could help?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the IDE home directory but in the most of cases, it's long, ugly and should not be directly referred.

hsz and others added 9 commits May 17, 2024 12:09
…rDirectory` to `SandboxAware.sandboxDirectory`
…tellij_platform_gradle_plugin_jetbrains_runtime.md

Co-authored-by: Karol Lewandowski <karol.lewandowski@jetbrains.com>
…tellij_platform_gradle_plugin_jetbrains_runtime.md

Co-authored-by: Karol Lewandowski <karol.lewandowski@jetbrains.com>
…tellij_platform_gradle_plugin_jetbrains_runtime.md

Co-authored-by: Karol Lewandowski <karol.lewandowski@jetbrains.com>
…tellij_platform_gradle_plugin_jetbrains_runtime.md

Co-authored-by: Karol Lewandowski <karol.lewandowski@jetbrains.com>
@hsz hsz merged commit 9366083 into main May 28, 2024
@hsz hsz deleted the ijpgp-2.0-jbr branch May 28, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants