JetBrains / intellij-platform-gradle-plugin

Gradle plugin for building plugins for IntelliJ-based IDEs
https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html
Apache License 2.0
1.42k stars 271 forks source link

[IntelliJ IDEA, EAP] use platform version `242-EAP-SNAPSHOT` cause errors in `2.0.0-beta7` #1667

Closed wangmingliang-ms closed 3 months ago

wangmingliang-ms commented 3 months ago

What happened?

project can be correctly loaded with 2.0.0-beta1 but failed for 2.0.0-beta7 when platform version is set 242-EAP-SNAPSHOT

Relevant log output or stack trace

* What went wrong:
Could not determine the dependencies of task ':runIde'.
> Failed to query the value of task ':runIde' property 'runtimeDirectory'.
   > No IntelliJ Platform dependency found.
     Please ensure there is a single IntelliJ Platform dependency defined in your project and that the necessary repositories, where it can be located, are added.
     See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html

Steps to reproduce

dependencies { intellijPlatform { intellijIdeaUltimate("242-EAP-SNAPSHOT") // ... } }



* reload the whole project

### Gradle IntelliJ Plugin version

2.0.0-beta7

### Gradle version

8.8

### Operating System

Windows

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

_No response_