Skip to content

Exceptions related to the use of the custom cache and parallel Gradle model fetching #2068

@jansorg

Description

@jansorg

What happened?

I have the cache enabled globally in my ~/.gradle/gradle.properties file:

org.jetbrains.intellij.platform.intellijPlatformCache=/home/user/.intellijPlatform
org.jetbrains.intellij.platform.intellijPlatformIdesCacheEnabled=true

Thus it's shared by all plugins I'm working on.
In a multi-module Gradle build of a plugin, I'm seeing this exception (and similar at other times):

:plugin-intelliLang:main: Could not resolve bundledPlugin:org.intellij.intelliLang:IC-242.22855.74.

Others were about "unexpected end of file" of an Ivy XML descriptor. I'm unable to reproduce this atm because it's only happening sometimes.

Relevant log output or stack trace

Steps to reproduce

In my experiments, this seems to only happen when I reload the Gradle project in IntelliJ.

It only seems to happen with "Enable parallel Gradle model fetching for Gradle 7.4+" in IntelliJ, which I had enabled. Turning this setting off seems to have fixed the problem.

Gradle IntelliJ Plugin version

2.10.5

Gradle version

8.14.4

Operating System

Linux

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

No response

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