Skip to content

Could not resolve io.github.pdvrieze.xmlutil:core:0.86.3 #1741

@Vanco

Description

@Vanco

What happened?

My multi-module project is work on version 2.0.0 very well. but when I try to upgrade to 2.0.1,

  1. modifiy the version string from 2.0.0 to 2.0.1
  2. sync gradle.
  3. fail with error message.

Relevant log output or stack trace

Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve io.github.pdvrieze.xmlutil:core:0.86.3.
  Required by:
      unspecified:unspecified:unspecified > org.jetbrains.intellij.platform.settings:org.jetbrains.intellij.platform.settings.gradle.plugin:2.0.1 > org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.0.1 > io.github.pdvrieze.xmlutil:serialization-jvm:0.86.3
   > The consumer was configured to find a library for use during runtime, compatible with Java 21, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.9'. There are several available matching variants of io.github.pdvrieze.xmlutil:core:0.86.3
     The only attribute distinguishing these variants is 'org.jetbrains.kotlin.platform.type'. Add this attribute to the consumer's configuration to resolve the ambiguity:
       - Value: 'androidJvm' selects variant: 'androidRuntimeElements-published'
       - Value: 'jvm' selects variant: 'jvmRuntimeElements-published'

Steps to reproduce

  1. modifiy the version string from 2.0.0 to 2.0.1
  2. sync gradle.

Gradle IntelliJ Plugin version

2.0.1

Gradle version

8.9

Operating System

macOS

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

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions