8000 "No IntelliJ Platform dependency found" is raised for Gateway GW · Issue #1937 · JetBrains/intellij-platform-gradle-plugin · GitHub
[go: up one dir, main page]

Skip to content
"No IntelliJ Platform dependency found" is raised for Gateway GW #1937
@fioan89

Description

@fioan89

What happened?

At Coder we were trying to update the IntelliJ Gradle Plugin 1.x to IntelliJ Platform Gradle plugin 2.5. We also have some UTs that are running on windows. During Gradle task configuration we noticed the build fails because no Gateway installer is found.

The error is raised with an old Gateway build but same thing happens for the 2025.1 release. On close inspection it seems that the new plugin expects zip archives on windows while at a quick glance on https://data.services.jetbrains.com/products?code=GW we have only exe artifacts available.

Relevant log output or stack trace

Task name matched 'test'
Selected primary task 'test' from project :
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom]
Resource missing. [HTTP HEAD: https://download-cdn.jetbrains.com/idea/gateway/JetBrainsGateway-2023.3-win.zip]
Resource missing. [HTTP HEAD: https://download-cdn.jetbrains.com/idea/gateway/JetBrainsGateway-2023.3.win.zip]
Resource missing. [HTTP HEAD: https://download-cdn.jetbrains.com/idea/gateway/2023.3/JetBrainsGateway-2023.3-win.zip]
Resource missing. [HTTP HEAD: https://download-cdn.jetbrains.com/idea/gateway/2023.3/JetBrainsGateway-2023.3.win.zip]
Resource missing. [HTTP GET: https://d2cico3c979uwg.cloudfront.net/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom]
Resource missing. [HTTP GET: https://d2s4y8xcwt8bet.cloudfront.net/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom]
Resource missing. [HTTP GET: https://dtahfujkndrht.cloudfront.net/packages.jetbrains.team/maven/p/ij/intellij-dependencies/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom]
Resource missing. [HTTP GET: https://dtahfujkndrht.cloudfront.net/plugins.jetbrains.com/maven/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom]
[org.jetbrains.intellij.platform] Configuration 'intellijPlatformDependency' has some resolution errors. LocalIvyArtifactPathComponentMetadataRule will not be registered.
0 problems were found storing the configuration cache.
FAILURE: Build failed with an exception.
See the complete report at file:///D:/a/jetbrains-coder/jetbrains-coder/build/reports/configuration-cache/djjrpgysp5li79ankthyf6rwu/etobrkbt95ul9aeylphlpp0t8/configuration-cache-report.html
* What went wrong:
Watched directory hierarchies: [D:\a\jetbrains-coder\jetbrains-coder]
Could not determine the dependencies of task ':test'.
Configuration cache entry stored.
> Failed to calculate the value of task ':prepareTest' property 'sandboxPluginsDirectory'.
   > Failed to query the value of task ':prepareTestSandbox' property 'sandboxPluginsDirectory'.
      > Failed to query the value of task ':prepareTestSandbox' property 'sandboxDirectory'.
         > Could not resolve all files for configuration ':intellijPlatformDependency'.
            > Could not find idea/gateway:JetBrainsGateway:2023.3.
              Searched in the following locations:
                - https://repo.maven.apache.org/maven2/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom
                - https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2023.3-win.zip
                - https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2023.3.win.zip
                - https://download.jetbrains.com/idea/gateway/2023.3/JetBrainsGateway-2023.3-win.zip
                - https://download.jetbrains.com/idea/gateway/2023.3/JetBrainsGateway-2023.3.win.zip
                - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom
                - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom
                - https://cache-redirector.jetbrains.com/intellij-dependencies/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom
                - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/idea/gateway/JetBrainsGateway/2023.3/JetBrainsGateway-2023.3.pom
              Required by:
                  project :

Steps to reproduce

coder/jetbrains-coder#549

Gradle IntelliJ Plugin version

2.5.0

Gradle version

8.5

Operating System

Windows

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

https://github.com/coder/jetbrains-coder/actions/runs/14869559972/job/41754603386?pr=549

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0