Skip to content

Fix Test workflow compile failure by restoring IntelliJ platform classpath in Gradle 2.x migration - #236

Closed
funivan with Copilot wants to merge 5 commits into
masterfrom
copilot/fix-github-actions-test-job
Closed

funivan with Copilot wants to merge 5 commits into
masterfrom
copilot/fix-github-actions-test-job

Conversation

Copilot AI commented Sep 2, 2026 •

Copy link
Copy Markdown

The failing Test job was caused by a broken IntelliJ Platform dependency declaration after migrating to org.jetbrains.intellij.platform (Gradle 2.x API). As a result, compileKotlin ran without IntelliJ SDK classes and failed with broad unresolved symbol errors.

  • Build config: correct platform dependency wiring

    • Updated build.gradle.kts to map configured platform type to explicit IntelliJ dependency helpers:
      • IU → intellijIdeaUltimate(platformVersion)
      • IC → intellijIdeaCommunity(platformVersion)
      • fallback retains create(platformType, platformVersion)
    • Kept plugin dependency resolution logic unchanged.
  • Why this matters

    • Ensures the IntelliJ Platform artifact is attached to the compilation classpath under the new plugin API, eliminating the missing IntelliJ/Kotlin type cascade in CI.
intellijPlatform {
    when (platformType) {
        "IU" -> intellijIdeaUltimate(platformVersion)
        "IC" -> intellijIdeaCommunity(platformVersion)
        else -> create(platformType, platformVersion)
    }
    testFramework(TestFrameworkType.Platform)
}

Copilot AI and others added 4 commits September 2, 2026 19:44
Co-authored-by: funivan <425208+funivan@users.noreply.github.com>
Co-authored-by: funivan <425208+funivan@users.noreply.github.com>
Co-authored-by: funivan <425208+funivan@users.noreply.github.com>
Co-authored-by: funivan <425208+funivan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Test Fix Test workflow compile failure by restoring IntelliJ platform classpath in Gradle 2.x migration Sep 2, 2026
Copilot AI requested a review from funivan September 2, 2026 19:47
@funivan funivan closed this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants