intellij-platform-gradle-plugin
intellij-platform-gradle-plugin copied to clipboard
Support for running other IDEs via the Running DSL
As requested here, it would be nice if it were possible to run other IDEs configured in the Setup DSL via the Running DSL.
I guess this works now? I am on 0.4.5
and :runIde
task now starts CLion as expected. Does it work for other IDEs?
I don't think so. You still have to change intellij.version
to run CLion or IDEA. Other IDEs are not support at all.
Right, as long as the property is set it launches CL or IU. Still, It’s a nice improvement.
This is now possible with IntelliJ Platform Gradle Plugin 2.0:
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
import org.jetbrains.intellij.platform.gradle.tasks.RunIdeTask
tasks {
val runPhpStorm by registering(RunIdeTask::class) {
type = IntelliJPlatformType.PhpStorm
version = "2023.2.2"
}
val runLocalIde by registering(RunIdeTask::class) {
localPath = file("/Users/hsz/Applications/Android Studio.app")
}
}
See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-tasks.html#runIde