You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose you have plugin that targets an older IJ version that runs on JBR 17, e.g. 2023.3.
But you want to have a run task that uses the latest IDE 2024.3 that runs with JDK 21.
When such a task is written the actual run JDK is JDK 17, also I don't think JCEF is included in this JBR.
I would have expected the correct JDK to be picked up, or at least have a way to configure the JDK / runtime for this runIde task.
Relevant log output or stack trace
Here's what is shown in the about window.
IntelliJ IDEA 2024.3 (Community Edition)
Build #IC-243.21565.193, built on November 13, 2024
Runtime version: 17.0.9+7-b1087.7 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.1
Kotlin analyzer version: 2.1.20-dev-1411
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
ide.experimental.ui=true
i18n.locale=
Kotlin: 243.21565.193-IJ
Steps to reproduce
Run ./gradlew runLatestIde with the following Gradle 8.11 reproducer project. THe plugin config has been stripped as it is irrelevant to this issue.
importorg.jetbrains.intellij.platform.gradle.IntelliJPlatformType
plugins {
id("org.jetbrains.intellij.platform") version "2.1.0"
kotlin("jvm") version "2.0.21"
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
jetbrainsRuntime()
}
}
dependencies {
intellijPlatform {
create(
type ="IC",
version ="2023.3",
useInstaller =false// don't use the installer for the targeted platform
)
jetbrainsRuntime()
instrumentationTools()
}
}
intellijPlatformTesting {
runIde {
register("runLatestIde") {
// localPath.set(file("/Users/brice.dutheil/Applications/IntelliJ IDEA Ultimate 2024.3 RC.app"))
type =IntelliJPlatformType.IntellijIdeaCommunity
version ="2024.3"// useInstaller = true // this has no effect
}
}
}
Gradle IntelliJ Plugin version
2.1.0
Gradle version
8.11
Operating System
macOS
Link to build, i.e. failing GitHub Action job
No response
The text was updated successfully, but these errors were encountered:
What happened?
Suppose you have plugin that targets an older IJ version that runs on JBR 17, e.g. 2023.3.
But you want to have a run task that uses the latest IDE 2024.3 that runs with JDK 21.
When such a task is written the actual run JDK is JDK 17, also I don't think JCEF is included in this JBR.
I would have expected the correct JDK to be picked up, or at least have a way to configure the JDK / runtime for this
runIde
task.Relevant log output or stack trace
Here's what is shown in the about window.
Steps to reproduce
Run
./gradlew runLatestIde
with the following Gradle 8.11 reproducer project. THe plugin config has been stripped as it is irrelevant to this issue.Gradle IntelliJ Plugin version
2.1.0
Gradle version
8.11
Operating System
macOS
Link to build, i.e. failing GitHub Action job
No response
The text was updated successfully, but these errors were encountered: