From e5606df59c4b677bee33f3c6d7006d4dd29ec62c Mon Sep 17 00:00:00 2001 From: ilya Date: Wed, 25 Mar 2026 11:41:06 +0000 Subject: [PATCH 01/30] fix: handle empty releases list in draft cleanup step (#578) When a new project has no releases yet, `gh api repos/{owner}/{repo}/releases` returns empty JSON, causing `xargs` to fail with exit code 123: "unexpected end of JSON input". use xargs -r instead of explicit empty check for draft cleanup --- .github/workflows/build.yml | 2 +- CHANGELOG.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 97f0347eb..6eece3183 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -242,7 +242,7 @@ jobs: run: | gh api repos/{owner}/{repo}/releases \ --jq '.[] | select(.draft == true) | .id' \ - | xargs -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{} + | xargs -r -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{} # Create a new release draft which is not publicly visible and requires manual acceptance - name: Create Release Draft diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f4285beb..53068c5e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ ## [2.4.1] - 2026-03-20 +### Fixed + +- GitHub Actions: handle empty releases list in draft cleanup step using `xargs -r` + ### Changed - Upgrade Gradle Wrapper to `9.4.1` From ea404eb4a94d1a4a242181a4c3e7e068bd70d1db Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:42:08 +0200 Subject: [PATCH 02/30] Migrate IntelliJ Platform repository configuration to `settings.gradle.kts` --- CHANGELOG.md | 4 ++++ build.gradle.kts | 10 ---------- gradle/libs.versions.toml | 3 +-- settings.gradle.kts | 15 +++++++++++++++ 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53068c5e8..599d79f18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ## [Unreleased] +### Changed + +- Migrate IntelliJ Platform repository configuration to `settings.gradle.kts` + ## [2.4.1] - 2026-03-20 ### Fixed diff --git a/build.gradle.kts b/build.gradle.kts index 447c872a7..ae98c3071 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,16 +19,6 @@ kotlin { jvmToolchain(21) } -// Configure project's dependencies -repositories { - mavenCentral() - - // IntelliJ Platform Gradle Plugin Repositories Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-repositories-extension.html - intellijPlatform { - defaultRepositories() - } -} - // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html dependencies { testImplementation(libs.junit) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2d484a11e..11d5744ef 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,6 @@ opentest4j = "1.3.0" # plugins changelog = "2.5.0" -intelliJPlatform = "2.13.1" kotlin = "2.3.20" kover = "0.9.7" qodana = "2025.3.2" @@ -16,7 +15,7 @@ opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "ope [plugins] changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } -intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" } +intelliJPlatform = { id = "org.jetbrains.intellij.platform" } kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" } diff --git a/settings.gradle.kts b/settings.gradle.kts index 94a5f1efc..ad6929e48 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,20 @@ +import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform + rootProject.name = "IntelliJ Platform Plugin Template" plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" + id("org.jetbrains.intellij.platform.settings") version "2.14.0" +} + +dependencyResolutionManagement { + // Configure all projects' repositories + repositories { + mavenCentral() + + // IntelliJ Platform Gradle Plugin Repositories Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-repositories-extension.html + intellijPlatform { + defaultRepositories() + } + } } From 6c8b80e62ca13199a10aee967e885bce78fef976 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:42:32 +0200 Subject: [PATCH 03/30] CHANGELOG update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 599d79f18..2a8ebf70d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Changed - Migrate IntelliJ Platform repository configuration to `settings.gradle.kts` +- Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.14.0` ## [2.4.1] - 2026-03-20 From b90c9831f71517f689cef1a6b9b64f2e24b6c1da Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:43:36 +0200 Subject: [PATCH 04/30] Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` --- CHANGELOG.md | 4 ++++ build.gradle.kts | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a8ebf70d..a7bce9c1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ - Migrate IntelliJ Platform repository configuration to `settings.gradle.kts` - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.14.0` +### Removed + +- Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` + ## [2.4.1] - 2026-03-20 ### Fixed diff --git a/build.gradle.kts b/build.gradle.kts index ae98c3071..67a65719e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,11 +14,6 @@ plugins { group = providers.gradleProperty("pluginGroup").get() version = providers.gradleProperty("pluginVersion").get() -// Set the JVM language level used to build the project. -kotlin { - jvmToolchain(21) -} - // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html dependencies { testImplementation(libs.junit) From a062f15b5139136b38435b86e50b11ee5bf185a9 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:44:56 +0200 Subject: [PATCH 05/30] Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion` configuration from `build.gradle.kts` --- CHANGELOG.md | 1 + build.gradle.kts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7bce9c1b..483342eaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ### Removed - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` +- Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion` configuration from `build.gradle.kts` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index 67a65719e..4f5fa116f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -67,10 +67,6 @@ intellijPlatform { ) } } - - ideaVersion { - sinceBuild = providers.gradleProperty("pluginSinceBuild") - } } signing { From 7c098c4b787097ab9cd158edea3021f03a961cfe Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:45:51 +0200 Subject: [PATCH 06/30] Remove redundant `intellijPlatform.signing` configuration from `build.gradle.kts` --- CHANGELOG.md | 1 + build.gradle.kts | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 483342eaf..826ba0ea5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion` configuration from `build.gradle.kts` +- Remove redundant `intellijPlatform.signing` configuration from `build.gradle.kts` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index 4f5fa116f..d124a41c0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -69,12 +69,6 @@ intellijPlatform { } } - signing { - certificateChain = providers.environmentVariable("CERTIFICATE_CHAIN") - privateKey = providers.environmentVariable("PRIVATE_KEY") - password = providers.environmentVariable("PRIVATE_KEY_PASSWORD") - } - publishing { token = providers.environmentVariable("PUBLISH_TOKEN") // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 From c1841df8d7d2dbf077da5c6a4f1a291d71aedac8 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:46:15 +0200 Subject: [PATCH 07/30] Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` --- CHANGELOG.md | 1 + build.gradle.kts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 826ba0ea5..9432a1958 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.signing` configuration from `build.gradle.kts` +- Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index d124a41c0..2d332f4a0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -70,7 +70,6 @@ intellijPlatform { } publishing { - token = providers.environmentVariable("PUBLISH_TOKEN") // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more: // https://plugins.jetbrains.com/docs/intellij/publishing-plugin.html#specifying-a-release-channel From 5aea1c5209adde5b38efe5d752d9a4cdaa13baf6 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:46:36 +0200 Subject: [PATCH 08/30] Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` --- CHANGELOG.md | 1 + build.gradle.kts | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9432a1958..7c5816643 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.signing` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` +- Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index 2d332f4a0..ad9ba1c91 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -75,12 +75,6 @@ intellijPlatform { // https://plugins.jetbrains.com/docs/intellij/publishing-plugin.html#specifying-a-release-channel channels = providers.gradleProperty("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) } } - - pluginVerification { - ides { - recommended() - } - } } // Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin From 8de915af33e701f0cb2802236bcad0f7f322ba5f Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:57:07 +0200 Subject: [PATCH 09/30] Remove redundant `java` plugin declaration from `build.gradle.kts` --- CHANGELOG.md | 1 + build.gradle.kts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c5816643..191766285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Remove redundant `intellijPlatform.signing` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` +- Remove redundant `java` plugin declaration from `build.gradle.kts` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index ad9ba1c91..f9388dfce 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,6 @@ import org.jetbrains.changelog.markdownToHTML import org.jetbrains.intellij.platform.gradle.TestFrameworkType plugins { - id("java") // Java support alias(libs.plugins.kotlin) // Kotlin support alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin alias(libs.plugins.changelog) // Gradle Changelog Plugin From 018cb38de868d1f1f0cc163dd0c252a665c190a2 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:58:00 +0200 Subject: [PATCH 10/30] Simplify property configuration by removing redundant `pluginGroup` reference from `build.gradle.kts` and updating `gradle.properties`. --- CHANGELOG.md | 1 + build.gradle.kts | 1 - gradle.properties | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 191766285..dd2cd30d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Migrate IntelliJ Platform repository configuration to `settings.gradle.kts` - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.14.0` +- Simplify property configuration by removing redundant `pluginGroup` reference from `build.gradle.kts` and updating `gradle.properties`. ### Removed diff --git a/build.gradle.kts b/build.gradle.kts index f9388dfce..373a373b6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,6 @@ plugins { alias(libs.plugins.kover) // Gradle Kover Plugin } -group = providers.gradleProperty("pluginGroup").get() version = providers.gradleProperty("pluginVersion").get() // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html diff --git a/gradle.properties b/gradle.properties index f32341bf6..200d20f8c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html -pluginGroup = org.jetbrains.plugins.template +group = org.jetbrains.plugins.template pluginName = IntelliJ Platform Plugin Template pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template # SemVer format -> https://semver.org From edb0f0aa7056b25b7c5e0805db70bc0ed5413d38 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 22:59:45 +0200 Subject: [PATCH 11/30] Update `version` property in `gradle.properties` and remove redundant `pluginVersion` configuration from `build.gradle.kts` --- CHANGELOG.md | 3 ++- build.gradle.kts | 2 -- gradle.properties | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd2cd30d2..5589a6631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ - Migrate IntelliJ Platform repository configuration to `settings.gradle.kts` - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.14.0` -- Simplify property configuration by removing redundant `pluginGroup` reference from `build.gradle.kts` and updating `gradle.properties`. +- Update `group` property in `gradle.properties` and remove redundant `pluginGroup` configuration from `build.gradle.kts` +- Update `version` property in `gradle.properties` and remove redundant `pluginVersion` configuration from `build.gradle.kts` ### Removed diff --git a/build.gradle.kts b/build.gradle.kts index 373a373b6..a0830f04d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,8 +10,6 @@ plugins { alias(libs.plugins.kover) // Gradle Kover Plugin } -version = providers.gradleProperty("pluginVersion").get() - // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html dependencies { testImplementation(libs.junit) diff --git a/gradle.properties b/gradle.properties index 200d20f8c..5074e7897 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,11 @@ # IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html group = org.jetbrains.plugins.template +version = 2.4.1 + pluginName = IntelliJ Platform Plugin Template pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template # SemVer format -> https://semver.org -pluginVersion = 2.4.1 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 252 From 465249c0ade1ebae0aa8e936f9c4818b876760ae Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 23:01:16 +0200 Subject: [PATCH 12/30] Remove redundant `pluginSinceBuild` property from `gradle.properties`. --- CHANGELOG.md | 3 ++- gradle.properties | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5589a6631..96314d118 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,8 @@ ### Removed - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` -- Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion` configuration from `build.gradle.kts` +- Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild` configuration from `build.gradle.kts` +- Remove redundant `pluginSinceBuild` property from `gradle.properties` - Remove redundant `intellijPlatform.signing` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` diff --git a/gradle.properties b/gradle.properties index 5074e7897..111ca3e2e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,9 +7,6 @@ pluginName = IntelliJ Platform Plugin Template pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template # SemVer format -> https://semver.org -# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html -pluginSinceBuild = 252 - # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformVersion = 2025.2.6.1 From 2d81f88b9b45479e3350ae6b98d3ee3b074d5990 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 23:05:01 +0200 Subject: [PATCH 13/30] Remove redundant `pluginVersion` configuration from `build.gradle.kts`. --- CHANGELOG.md | 1 + build.gradle.kts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96314d118..623494158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` - Remove redundant `java` plugin declaration from `build.gradle.kts` +- Remove redundant `pluginVersion` configuration from `build.gradle.kts`. ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index a0830f04d..0be8fa994 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,6 @@ dependencies { intellijPlatform { pluginConfiguration { name = providers.gradleProperty("pluginName") - version = providers.gradleProperty("pluginVersion") // Extract the section from README.md and provide for the plugin's manifest description = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map { From 80c457efc3ced54cb72d069e9fcb58fd8a03a5f9 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 23:06:29 +0200 Subject: [PATCH 14/30] Remove redundant `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml` --- CHANGELOG.md | 1 + build.gradle.kts | 2 -- gradle.properties | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 623494158..91c3f0880 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` - Remove redundant `java` plugin declaration from `build.gradle.kts` - Remove redundant `pluginVersion` configuration from `build.gradle.kts`. +- Remove redundant `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index 0be8fa994..485adc55c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,8 +35,6 @@ dependencies { // Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html intellijPlatform { pluginConfiguration { - name = providers.gradleProperty("pluginName") - // Extract the section from README.md and provide for the plugin's manifest description = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map { val start = "" diff --git a/gradle.properties b/gradle.properties index 111ca3e2e..ba1735982 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,6 @@ group = org.jetbrains.plugins.template version = 2.4.1 -pluginName = IntelliJ Platform Plugin Template pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template # SemVer format -> https://semver.org From 81178214cee1ee0134bedf14fb914a1d8185a1dc Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 10 Apr 2026 23:10:07 +0200 Subject: [PATCH 15/30] Remove redundant comments and `pluginVersion` configuration from `gradle.properties`. --- .github/template-cleanup/gradle.properties | 6 +----- gradle.properties | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index 4fc8b265e..626a0e5f9 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -2,12 +2,8 @@ pluginGroup = %GROUP% pluginName = %NAME% -pluginRepositoryUrl = https://github.com/%REPOSITORY% -# SemVer format -> https://semver.org -pluginVersion = 0.0.1 -# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html -pluginSinceBuild = 252 +pluginRepositoryUrl = https://github.com/%REPOSITORY% # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformVersion = 2025.2.6.1 diff --git a/gradle.properties b/gradle.properties index ba1735982..ca91d62ea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,6 @@ group = org.jetbrains.plugins.template version = 2.4.1 pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template -# SemVer format -> https://semver.org # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformVersion = 2025.2.6.1 From 38580d332c94b88f04e96355de801912535ebc3b Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 09:23:12 +0200 Subject: [PATCH 16/30] Suppress unstable API usage warning in `settings.gradle.kts`. --- settings.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.gradle.kts b/settings.gradle.kts index ad6929e48..2067dc2db 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,6 +7,7 @@ plugins { id("org.jetbrains.intellij.platform.settings") version "2.14.0" } +@Suppress("UnstableApiUsage") dependencyResolutionManagement { // Configure all projects' repositories repositories { From 8eeabb3a381cd45ac040332467f291e755d94b29 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 09:30:13 +0200 Subject: [PATCH 17/30] Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ --- CHANGELOG.md | 1 + build.gradle.kts | 1 - gradle/libs.versions.toml | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91c3f0880..6719e1afb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Removed +- Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild` configuration from `build.gradle.kts` - Remove redundant `pluginSinceBuild` property from `gradle.properties` diff --git a/build.gradle.kts b/build.gradle.kts index 485adc55c..ecffdfc95 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,7 +13,6 @@ plugins { // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html dependencies { testImplementation(libs.junit) - testImplementation(libs.opentest4j) // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html intellijPlatform { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 11d5744ef..5c3c19120 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,6 @@ [versions] # libraries junit = "4.13.2" -opentest4j = "1.3.0" # plugins changelog = "2.5.0" @@ -11,7 +10,6 @@ qodana = "2025.3.2" [libraries] junit = { group = "junit", name = "junit", version.ref = "junit" } -opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "opentest4j" } [plugins] changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } From 4d9a412aa6582de364e80d4e5f0c7a377fdeff3a Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 09:33:52 +0200 Subject: [PATCH 18/30] Simplify property configuration: replace `pluginGroup` and `pluginName` with `group` and `version` in `gradle.properties`, and update diff filtering in workflow. --- .github/template-cleanup/gradle.properties | 6 ++---- .github/workflows/template-verify.yml | 5 ++--- gradle.properties | 2 -- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index 626a0e5f9..f34684688 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -1,7 +1,5 @@ -# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html - -pluginGroup = %GROUP% -pluginName = %NAME% +group = %GROUP% +version = 0.0.1 pluginRepositoryUrl = https://github.com/%REPOSITORY% diff --git a/.github/workflows/template-verify.yml b/.github/workflows/template-verify.yml index b0514d5c4..3485d0c86 100644 --- a/.github/workflows/template-verify.yml +++ b/.github/workflows/template-verify.yml @@ -31,9 +31,8 @@ jobs: echo "\`\`\`diff" >> $GITHUB_STEP_SUMMARY diff -U 0 \ - -I '^pluginVersion' \ - -I '^pluginGroup' \ - -I '^pluginName' \ + -I '^version' \ + -I '^group' \ -I '^pluginRepositoryUrl' \ --label .github/template-cleanup/gradle.properties \ --label gradle.properties \ diff --git a/gradle.properties b/gradle.properties index ca91d62ea..faf535ba4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,3 @@ -# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html - group = org.jetbrains.plugins.template version = 2.4.1 From 869b4d8272f279695c2918af39540c8f4cd39cd0 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:51:56 +0200 Subject: [PATCH 19/30] Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` --- .github/template-cleanup/gradle.properties | 3 --- CHANGELOG.md | 1 + build.gradle.kts | 4 ---- gradle.properties | 3 --- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index f34684688..f3e1cfdb0 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -14,9 +14,6 @@ platformBundledPlugins = # Example: platformBundledModules = intellij.spellchecker platformBundledModules = -# Gradle Releases -> https://github.com/gradle/gradle/releases -gradleVersion = 9.4.1 - # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false diff --git a/CHANGELOG.md b/CHANGELOG.md index 6719e1afb..2ba470e41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ### Removed - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ +- Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild` configuration from `build.gradle.kts` - Remove redundant `pluginSinceBuild` property from `gradle.properties` diff --git a/build.gradle.kts b/build.gradle.kts index ecffdfc95..d1fc7353d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -88,10 +88,6 @@ kover { } tasks { - wrapper { - gradleVersion = providers.gradleProperty("gradleVersion").get() - } - publishPlugin { dependsOn(patchChangelog) } diff --git a/gradle.properties b/gradle.properties index faf535ba4..899532c17 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,9 +14,6 @@ platformBundledPlugins = # Example: platformBundledModules = intellij.spellchecker platformBundledModules = -# Gradle Releases -> https://github.com/gradle/gradle/releases -gradleVersion = 9.4.1 - # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false From 54e18eadc8933a9ccf13dda5c686e1e6615102d1 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:53:37 +0200 Subject: [PATCH 20/30] Remove Qodana configuration, dependencies, and related workflow steps. --- .github/workflows/build.yml | 41 +------------------------------------ .gitignore | 1 - CHANGELOG.md | 1 + build.gradle.kts | 1 - gradle/libs.versions.toml | 2 -- qodana.yml | 12 ----------- 6 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 qodana.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6eece3183..8ea5e36ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,6 @@ # GitHub Actions Workflow is created for testing and preparing the plugin release in the following steps: # - Validate Gradle Wrapper. # - Run 'test' and 'verifyPlugin' tasks. -# - Run Qodana inspections. # - Run the 'buildPlugin' task and prepare artifact for further tests. # - Run the 'runPluginVerifier' task. # - Create a draft release. @@ -126,44 +125,6 @@ jobs: files: ${{ github.workspace }}/build/reports/kover/report.xml token: ${{ secrets.CODECOV_TOKEN }} - # Run Qodana inspections and provide a report - inspectCode: - name: Inspect code - needs: [ build ] - runs-on: ubuntu-latest - permissions: - contents: write - checks: write - pull-requests: write - steps: - - # Free GitHub Actions Environment Disk Space - - name: Maximize Build Space - uses: jlumbroso/free-disk-space@v1.3.1 - with: - tool-cache: false - large-packages: false - - # Check out the current repository - - name: Fetch Sources - uses: actions/checkout@v6 - with: - ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit - fetch-depth: 0 # a full history is required for pull request analysis - - # Set up the Java environment for the next steps - - name: Setup Java - uses: actions/setup-java@v5 - with: - distribution: zulu - java-version: 21 - - # Run Qodana inspections - - name: Qodana - Code Inspection - uses: JetBrains/qodana-action@v2025.1.1 - with: - cache-default-branch-only: true - # Run plugin structure verification along with IntelliJ Plugin Verifier verify: name: Verify plugin @@ -212,7 +173,7 @@ jobs: releaseDraft: name: Release draft if: github.event_name != 'pull_request' - needs: [ build, test, inspectCode, verify ] + needs: [ build, test, verify ] runs-on: ubuntu-latest permissions: contents: write diff --git a/.gitignore b/.gitignore index df6966a18..da7923a48 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ .idea .intellijPlatform .kotlin -.qodana build diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba470e41..01f1cfa56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` +- Remove Qodana configuration, dependencies, and related workflow steps. - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild` configuration from `build.gradle.kts` - Remove redundant `pluginSinceBuild` property from `gradle.properties` diff --git a/build.gradle.kts b/build.gradle.kts index d1fc7353d..e0cd6db4f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,6 @@ plugins { alias(libs.plugins.kotlin) // Kotlin support alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin alias(libs.plugins.changelog) // Gradle Changelog Plugin - alias(libs.plugins.qodana) // Gradle Qodana Plugin alias(libs.plugins.kover) // Gradle Kover Plugin } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5c3c19120..a29f22e71 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,6 @@ junit = "4.13.2" changelog = "2.5.0" kotlin = "2.3.20" kover = "0.9.7" -qodana = "2025.3.2" [libraries] junit = { group = "junit", name = "junit", version.ref = "junit" } @@ -16,4 +15,3 @@ changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } intelliJPlatform = { id = "org.jetbrains.intellij.platform" } kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } -qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" } diff --git a/qodana.yml b/qodana.yml deleted file mode 100644 index 81f13b900..000000000 --- a/qodana.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Qodana configuration: -# https://www.jetbrains.com/help/qodana/qodana-yaml.html - -version: "1.0" -linter: jetbrains/qodana-jvm-community:2024.3 -projectJDK: "21" -profile: - name: qodana.recommended -exclude: - - name: All - paths: - - .qodana From 7965a46d8000fb0dff014ca7108d97271950fc24 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:55:01 +0200 Subject: [PATCH 21/30] Remove Kover configuration, dependencies, and related workflow steps. --- .github/workflows/build.yml | 7 ------- CHANGELOG.md | 5 +++-- build.gradle.kts | 12 ------------ gradle/libs.versions.toml | 2 -- 4 files changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ea5e36ee..71654200e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -118,13 +118,6 @@ jobs: name: tests-result path: ${{ github.workspace }}/build/reports/tests - # Upload the Kover report to CodeCov - - name: Upload Code Coverage Report - uses: codecov/codecov-action@v5 - with: - files: ${{ github.workspace }}/build/reports/kover/report.xml - token: ${{ secrets.CODECOV_TOKEN }} - # Run plugin structure verification along with IntelliJ Plugin Verifier verify: name: Verify plugin diff --git a/CHANGELOG.md b/CHANGELOG.md index 01f1cfa56..3a2ca0c7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` - Remove Qodana configuration, dependencies, and related workflow steps. +- Remove Kover configuration, dependencies, and related workflow steps. - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild` configuration from `build.gradle.kts` - Remove redundant `pluginSinceBuild` property from `gradle.properties` @@ -23,8 +24,8 @@ - Remove redundant `intellijPlatform.publishing.token` configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginVerification` configuration from `build.gradle.kts` - Remove redundant `java` plugin declaration from `build.gradle.kts` -- Remove redundant `pluginVersion` configuration from `build.gradle.kts`. -- Remove redundant `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml` +- Remove `pluginVersion` configuration from `build.gradle.kts`. +- Remove `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml` ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index e0cd6db4f..a3a06c134 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,6 @@ plugins { alias(libs.plugins.kotlin) // Kotlin support alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin alias(libs.plugins.changelog) // Gradle Changelog Plugin - alias(libs.plugins.kover) // Gradle Kover Plugin } // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html @@ -75,17 +74,6 @@ changelog { versionPrefix = "" } -// Configure Gradle Kover Plugin - read more: https://kotlin.github.io/kotlinx-kover/gradle-plugin/#configuration-details -kover { - reports { - total { - xml { - onCheck = true - } - } - } -} - tasks { publishPlugin { dependsOn(patchChangelog) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a29f22e71..17f181290 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,6 @@ junit = "4.13.2" # plugins changelog = "2.5.0" kotlin = "2.3.20" -kover = "0.9.7" [libraries] junit = { group = "junit", name = "junit", version.ref = "junit" } @@ -14,4 +13,3 @@ junit = { group = "junit", name = "junit", version.ref = "junit" } changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } intelliJPlatform = { id = "org.jetbrains.intellij.platform" } kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } -kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } From 64c7597d34e1ebf16db21a46503773c3f1ae27f0 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:55:43 +0200 Subject: [PATCH 22/30] Remove `intellijPlatform.publishing.channels` configuration from `build.gradle.kts`. --- CHANGELOG.md | 1 + build.gradle.kts | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a2ca0c7b..b5fefd32d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Remove redundant `java` plugin declaration from `build.gradle.kts` - Remove `pluginVersion` configuration from `build.gradle.kts`. - Remove `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml` +- Remove `intellijPlatform.publishing.channels` configuration from `build.gradle.kts`. ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index a3a06c134..20d6b735a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -58,13 +58,6 @@ intellijPlatform { } } } - - publishing { - // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 - // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more: - // https://plugins.jetbrains.com/docs/intellij/publishing-plugin.html#specifying-a-release-channel - channels = providers.gradleProperty("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) } - } } // Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin From 03daa807f1c41d0336818adb3b617be5a18c7015 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:56:55 +0200 Subject: [PATCH 23/30] Remove (empty) plugin and module dependency configurations from `build.gradle.kts` and `gradle.properties`. --- .github/template-cleanup/gradle.properties | 8 -------- CHANGELOG.md | 1 + build.gradle.kts | 10 ---------- gradle.properties | 8 -------- 4 files changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index f3e1cfdb0..112163e81 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -6,14 +6,6 @@ pluginRepositoryUrl = https://github.com/%REPOSITORY% # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformVersion = 2025.2.6.1 -# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html -# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP -platformPlugins = -# Example: platformBundledPlugins = com.intellij.java -platformBundledPlugins = -# Example: platformBundledModules = intellij.spellchecker -platformBundledModules = - # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false diff --git a/CHANGELOG.md b/CHANGELOG.md index b5fefd32d..dbe935e3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Removed +- Remove (empty) plugin and module dependency configurations from `build.gradle.kts` and `gradle.properties`. - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` - Remove Qodana configuration, dependencies, and related workflow steps. diff --git a/build.gradle.kts b/build.gradle.kts index 20d6b735a..fa226ca78 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,16 +15,6 @@ dependencies { // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html intellijPlatform { intellijIdea(providers.gradleProperty("platformVersion")) - - // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. - bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') }) - - // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace. - plugins(providers.gradleProperty("platformPlugins").map { it.split(',') }) - - // Module Dependencies. Uses `platformBundledModules` property from the gradle.properties file for bundled IntelliJ Platform modules. - bundledModules(providers.gradleProperty("platformBundledModules").map { it.split(',') }) - testFramework(TestFrameworkType.Platform) } } diff --git a/gradle.properties b/gradle.properties index 899532c17..f61e504d9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,14 +6,6 @@ pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-temp # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformVersion = 2025.2.6.1 -# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html -# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP -platformPlugins = -# Example: platformBundledPlugins = com.intellij.java -platformBundledPlugins = -# Example: platformBundledModules = intellij.spellchecker -platformBundledModules = - # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false From 13dee18384e7bb5be83bbac58850b49addd20640 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:57:51 +0200 Subject: [PATCH 24/30] Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration. --- .github/template-cleanup/gradle.properties | 3 --- CHANGELOG.md | 1 + build.gradle.kts | 2 +- gradle.properties | 3 --- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index 112163e81..3c939925b 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -3,9 +3,6 @@ version = 0.0.1 pluginRepositoryUrl = https://github.com/%REPOSITORY% -# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension -platformVersion = 2025.2.6.1 - # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false diff --git a/CHANGELOG.md b/CHANGELOG.md index dbe935e3b..731801987 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Removed +- Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration. - Remove (empty) plugin and module dependency configurations from `build.gradle.kts` and `gradle.properties`. - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` diff --git a/build.gradle.kts b/build.gradle.kts index fa226ca78..7fb662559 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ dependencies { // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html intellijPlatform { - intellijIdea(providers.gradleProperty("platformVersion")) + intellijIdea("2025.2.6.1") testFramework(TestFrameworkType.Platform) } } diff --git a/gradle.properties b/gradle.properties index f61e504d9..0de66e64d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,9 +3,6 @@ version = 2.4.1 pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template -# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension -platformVersion = 2025.2.6.1 - # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false From a2c511664391593866e0503ed5603cfc9105dc3f Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:59:16 +0200 Subject: [PATCH 25/30] Inline `junit` dependency version in `build.gradle.kts` and remove it from `libs.versions.toml`. --- CHANGELOG.md | 3 ++- build.gradle.kts | 2 +- gradle/libs.versions.toml | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 731801987..021a78cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,10 +10,11 @@ - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.14.0` - Update `group` property in `gradle.properties` and remove redundant `pluginGroup` configuration from `build.gradle.kts` - Update `version` property in `gradle.properties` and remove redundant `pluginVersion` configuration from `build.gradle.kts` +- Inline `junit` dependency version in `build.gradle.kts` and remove it from `libs.versions.toml`. +- Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration. ### Removed -- Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration. - Remove (empty) plugin and module dependency configurations from `build.gradle.kts` and `gradle.properties`. - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` diff --git a/build.gradle.kts b/build.gradle.kts index 7fb662559..7c82046ac 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ plugins { // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html dependencies { - testImplementation(libs.junit) + testImplementation("junit:junit:4.13.2") // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html intellijPlatform { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 17f181290..39cbe3f8e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,4 @@ [versions] -# libraries -junit = "4.13.2" # plugins changelog = "2.5.0" From 12f231b4de7cce151417a1211879a25d846736d9 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 20:49:44 +0200 Subject: [PATCH 26/30] Remove `libs.versions.toml` and inline plugin versions in build scripts for simplified dependency management. --- CHANGELOG.md | 1 + build.gradle.kts | 6 +++--- gradle/libs.versions.toml | 13 ------------- settings.gradle.kts | 7 +++++++ 4 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 gradle/libs.versions.toml diff --git a/CHANGELOG.md b/CHANGELOG.md index 021a78cba..939b48443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Update `version` property in `gradle.properties` and remove redundant `pluginVersion` configuration from `build.gradle.kts` - Inline `junit` dependency version in `build.gradle.kts` and remove it from `libs.versions.toml`. - Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration. +- Remove `libs.versions.toml` and inline plugin versions in build scripts for simpler configuration. ### Removed diff --git a/build.gradle.kts b/build.gradle.kts index 7c82046ac..a0e278ecd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,9 +3,9 @@ import org.jetbrains.changelog.markdownToHTML import org.jetbrains.intellij.platform.gradle.TestFrameworkType plugins { - alias(libs.plugins.kotlin) // Kotlin support - alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin - alias(libs.plugins.changelog) // Gradle Changelog Plugin + id("org.jetbrains.kotlin.jvm") + id("org.jetbrains.intellij.platform") + id("org.jetbrains.changelog") } // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml deleted file mode 100644 index 39cbe3f8e..000000000 --- a/gradle/libs.versions.toml +++ /dev/null @@ -1,13 +0,0 @@ -[versions] - -# plugins -changelog = "2.5.0" -kotlin = "2.3.20" - -[libraries] -junit = { group = "junit", name = "junit", version.ref = "junit" } - -[plugins] -changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } -intelliJPlatform = { id = "org.jetbrains.intellij.platform" } -kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } diff --git a/settings.gradle.kts b/settings.gradle.kts index 2067dc2db..1301bbed8 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,6 +2,13 @@ import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform rootProject.name = "IntelliJ Platform Plugin Template" +pluginManagement { + plugins { + id("org.jetbrains.kotlin.jvm") version "2.1.20" + id("org.jetbrains.changelog") version "2.5.0" + } +} + plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" id("org.jetbrains.intellij.platform.settings") version "2.14.0" From 6e3abcc6d126e47895bd5c0c18c90646570bf3bc Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 20:49:59 +0200 Subject: [PATCH 27/30] Refactor changelog property usage to simplify version mapping logic. --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index a0e278ecd..fe9b60c9e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,7 +37,7 @@ intellijPlatform { val changelog = project.changelog // local variable for configuration cache compatibility // Get the latest available change notes from the changelog file - changeNotes = providers.gradleProperty("pluginVersion").map { pluginVersion -> + changeNotes = version.map { pluginVersion -> with(changelog) { renderItem( (getOrNull(pluginVersion) ?: getUnreleased()) From d454cfc1bc3232558b02f48199ce162fcdb9d3f9 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 21:32:47 +0200 Subject: [PATCH 28/30] Remove `runIdeForUiTests` obsolete task from `build.gradle.kts`. --- CHANGELOG.md | 1 + build.gradle.kts | 21 --------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 939b48443..fcc0b8808 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ - Remove `pluginVersion` configuration from `build.gradle.kts`. - Remove `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml` - Remove `intellijPlatform.publishing.channels` configuration from `build.gradle.kts`. +- Remove `runIdeForUiTests` obsolete task from `build.gradle.kts`. ## [2.4.1] - 2026-03-20 diff --git a/build.gradle.kts b/build.gradle.kts index fe9b60c9e..ef8a4da0f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -62,24 +62,3 @@ tasks { dependsOn(patchChangelog) } } - -intellijPlatformTesting { - runIde { - register("runIdeForUiTests") { - task { - jvmArgumentProviders += CommandLineArgumentProvider { - listOf( - "-Drobot-server.port=8082", - "-Dide.mac.message.dialogs.as.sheets=false", - "-Djb.privacy.policy.text=", - "-Djb.consents.confirmation.enabled=false", - ) - } - } - - plugins { - robotServerPlugin() - } - } - } -} From e8aa6d9221e802e3bb984c7b29b0feae42dfc8f6 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 22:24:05 +0200 Subject: [PATCH 29/30] Remove `codecov.yml` configuration file to clean up unused CI settings. --- codecov.yml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index f6e0f07f7..000000000 --- a/codecov.yml +++ /dev/null @@ -1,10 +0,0 @@ -coverage: - status: - project: - default: - informational: true - threshold: 0% - base: auto - patch: - default: - informational: true From fa25739fb89b3d4edfdd65718b154e34bd579fbf Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Fri, 17 Apr 2026 14:12:51 +0200 Subject: [PATCH 30/30] 2.5.0 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 0de66e64d..15903fb9f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = org.jetbrains.plugins.template -version = 2.4.1 +version = 2.5.0 pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template