You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My multi-module project is work on version 2.0.0 very well. but when I try to upgrade to 2.0.1,
modifiy the version string from 2.0.0 to 2.0.1
sync gradle.
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
modifiy the version string from 2.0.0 to 2.0.1
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
The text was updated successfully, but these errors were encountered:
I apply the plugin in build-logic project. I attached my project structure for reference. Before I upgrade to version 2.0.1, the old version is 2.0.0, everything work as expected.
when I change the version code to 2.0.1, (in /platforms/plutins-platform/build.gradle.kts), the project will fail in gradle configuration phase.
This issue is directly related to pdvrieze/xmlutil#56
As one is using the plugin with no intermediate build-logic involved, my constraints seem to help Gradle pick the proper transitive dependency variant:
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,
Relevant log output or stack trace
Steps to reproduce
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
The text was updated successfully, but these errors were encountered: