From 7ff92d80a43c909d829ebac0746e29d65384c690 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Sep 2026 10:12:37 +0000 Subject: [PATCH 1/3] chore(deps): bump org.jetbrains.intellij.platform from 2.18.1 to 2.19.0 Bumps org.jetbrains.intellij.platform from 2.18.1 to 2.19.0. --- updated-dependencies: - dependency-name: org.jetbrains.intellij.platform dependency-version: 2.19.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0d324861..f7b64a24 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,7 +29,7 @@ fun getVersionNumber() : String { plugins { id("java") - id("org.jetbrains.intellij.platform") version "2.18.1" + id("org.jetbrains.intellij.platform") version "2.19.0" id("org.jetbrains.grammarkit") version "2023.3.0.4" id("checkstyle") id("com.avast.gradle.docker-compose") version "0.17.21" From d1cef9081856232a0aee5e42379f59db8453dc07 Mon Sep 17 00:00:00 2001 From: Steve Ramage Date: Fri, 2 Oct 2026 01:25:34 +0000 Subject: [PATCH 2/3] fix: adapt build to IntelliJ Platform Gradle Plugin 2.19.0 - PublishPluginTask.archiveFile was replaced by the archiveFiles file collection. - 2.19.0 defaults kotlin.stdlib.default.dependency to false and excludes libraries the platform already provides, so kotlin-stdlib was no longer bundled. Our code then ran against the IDE's older stdlib and failed with NoSuchMethodError on sequenceOf(T). Restore bundling for now (also in the release-branch automation that regenerates gradle.properties) until the code is pinned to the platform's Kotlin API version. Co-Authored-By: Claude Opus 5.5 (1M context) --- build.gradle.kts | 2 +- ci/release-branch-automation.Jenkinsfile | 2 ++ gradle.properties | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index f7b64a24..a3f67f9b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -404,5 +404,5 @@ tasks.register(" host.set("https://plugins.jetbrains.com") // Set the distribution file in gradle build to the archive file of the buildPlugin task - archiveFile.set(project.file("build/distributions/${project.name}-${project.version}.zip")) + archiveFiles.from(project.file("build/distributions/${project.name}-${project.version}.zip")) } diff --git a/ci/release-branch-automation.Jenkinsfile b/ci/release-branch-automation.Jenkinsfile index 84a43f96..8b3cfcf2 100644 --- a/ci/release-branch-automation.Jenkinsfile +++ b/ci/release-branch-automation.Jenkinsfile @@ -91,6 +91,8 @@ pipeline { echo \$BRANCH_NAME | sed -E "s/([0-9][0-9])([0-9]).x/intellijVersion=20\\1.\\2/" >> systemdUnitFilePlugin/gradle.properties echo \$BRANCH_NAME | sed -E "s/([0-9][0-9])([0-9]).x/sinceVersion=\\1\\2.0/" >> systemdUnitFilePlugin/gradle.properties echo \$BRANCH_NAME | sed -E "s/([0-9][0-9])([0-9]).x/pluginMajorVersion=\\1\\2/" >> systemdUnitFilePlugin/gradle.properties + echo "kotlin.stdlib.default.dependency=true" >> systemdUnitFilePlugin/gradle.properties + echo "org.jetbrains.intellij.platform.useDefaultSandboxExclusions=false" >> systemdUnitFilePlugin/gradle.properties git -C systemdUnitFilePlugin add gradle.properties cat systemdUnitFilePlugin/gradle.properties diff --git a/gradle.properties b/gradle.properties index 5fb63245..a9682605 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,3 +3,5 @@ platformType=IC intellijVersion=2024.2 sinceVersion=242.0 pluginMajorVersion=242 +kotlin.stdlib.default.dependency=true +org.jetbrains.intellij.platform.useDefaultSandboxExclusions=false From c4d4d2c2dc0802e49644f7aa1a4ac8cfd62338af Mon Sep 17 00:00:00 2001 From: Steve Ramage Date: Fri, 2 Oct 2026 01:42:43 +0000 Subject: [PATCH 3/3] fix(build): sanitize branch name used in plugin version Jenkins sets BRANCH_NAME to the raw branch name for branch builds, so a branch like fix/foo put a '/' into the version and the distribution zip landed in a subdirectory, breaking the build/distributions/*.zip archive step. Co-Authored-By: Claude Opus 5.5 (1M context) --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index a3f67f9b..92cb275e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,8 @@ fun getVersionNumber() : String { val build = System.getenv("BUILD_NUMBER") ?: 3 - val branchName = System.getenv("BRANCH_NAME") ?: "undefined" + // Branch names like "fix/foo" would otherwise put a path separator into the distribution zip's file name + val branchName = (System.getenv("BRANCH_NAME") ?: "undefined").replace(Regex("[^A-Za-z0-9._-]"), "-") if (branchName.matches(Regex("""[0-9]{3}\.x"""))) { return "${major}.${minor}.${build}"