Hey there, we're trying to upgrade our intellij pl...
# intellij-plugins
e
Hey there, we're trying to upgrade our intellij platform gradle plugin version (from 2.1.0 to 2.6.0) and the upgrade causes a new configuration error. Can anyone help point me in the right direction? We use compose desktop for UI in our plugin, and it seems to be having trouble finding the right skiko variant The error is
Copy code
> Could not resolve all files for configuration ':intellij-plugin-android:intellijPlatformClasspath'.
   > Could not resolve org.jetbrains.skiko:skiko:0.9.4.2.
     Required by:
         project :intellij-plugin-android > project :intellij-plugin-shared:airchat > org.jetbrains.compose.material3:material3:1.8.1 > org.jetbrains.compose.material3:material3-desktop:1.8.1 > org.jetbrains.compose.foundation:foundation:1.8.1 > org.jetbrains.compose.foundation:foundation-desktop:1.8.1
         project :intellij-plugin-android > project :intellij-plugin-shared:airchat > org.jetbrains.compose.material3:material3:1.8.1 > org.jetbrains.compose.material3:material3-desktop:1.8.1 > org.jetbrains.compose.ui:ui-graphics:1.8.1 > org.jetbrains.compose.ui:ui-graphics-desktop:1.8.1
         project :intellij-plugin-android > project :intellij-plugin-shared:airchat > org.jetbrains.compose.material3:material3:1.8.1 > org.jetbrains.compose.material3:material3-desktop:1.8.1 > org.jetbrains.compose.ui:ui-text:1.8.1 > org.jetbrains.compose.ui:ui-text-desktop:1.8.1
         project :intellij-plugin-android > project :intellij-plugin-shared:base > org.jetbrains.compose.material:material-icons-core:1.7.3 > org.jetbrains.compose.material:material-icons-core-desktop:1.7.3 > org.jetbrains.compose.ui:ui:1.8.1 > org.jetbrains.compose.ui:ui-desktop:1.8.1
      > The consumer was configured to find attribute 'intellijPlatformCollected' with value 'true', attribute 'intellijPlatformExtracted' with value 'true'. However we cannot choose between the following variants of org.jetbrains.skiko:skiko:0.9.4.2:
          - androidApiElements-published
          - androidRuntimeElements-published
          - androidSourcesElements-published
          - awtApiElements-published
          - awtRuntimeElements-published
          - awtSourcesElements-published
          - iosArm64ApiElements-published
          - iosArm64MetadataElements-published
          - iosArm64SourcesElements-published
          - iosSimulatorArm64ApiElements-published
          - iosSimulatorArm64MetadataElements-published
          - iosSimulatorArm64SourcesElements-published
          - iosX64ApiElements-published
          - iosX64MetadataElements-published
          - iosX64SourcesElements-published
          - jsApiElements-published
          - jsRuntimeElements-published
          - jsSourcesElements-published
          - linuxX64ApiElements-published
          - linuxX64SourcesElements-published
          - macosArm64ApiElements-published
          - macosArm64MetadataElements-published
          - macosArm64SourcesElements-published
          - macosX64ApiElements-published
          - macosX64MetadataElements-published
          - macosX64SourcesElements-published
          - metadataApiElements
          - metadataSourcesElements
          - tvosArm64ApiElements-published
          - tvosArm64MetadataElements-published
          - tvosArm64SourcesElements-published
          - tvosSimulatorArm64ApiElements-published
          - tvosSimulatorArm64MetadataElements-published
          - tvosSimulatorArm64SourcesElements-published
          - tvosX64ApiElements-published
          - tvosX64MetadataElements-published
          - tvosX64SourcesElements-published
          - wasmJsApiElements-published
          - wasmJsRuntimeElements-published
          - wasmJsSourcesElements-published
        All of them match the consumer attributes:
We're using version 1.8.1 for compose desktop and gradle 8.14.2
We apply compose desktop dependency like this
Copy code
implementation compose.desktop.linux_x64
    implementation compose.desktop.macos_x64
    implementation compose.desktop.macos_arm64
Hm, forcing the newest skiko version
0.9.21
seems to fix it. It's very confusing to get this on the platform plugin update though, and the jetbrains skiko dependency doesn't have clear release notes about this