From 30dbd3056cb8792de6fa168b7960720367d88c82 Mon Sep 17 00:00:00 2001 From: Copilot Date: Fri, 4 Sep 2026 12:48:43 +0300 Subject: [PATCH] fix: remove until-build magic value 999.* from plugin descriptor JetBrains Marketplace rejects plugin uploads whose contains the magic value 999 (e.g. "999.*"), returning: "Invalid plugin descriptor 'plugin.xml'. The attribute (999.*) should not contain a magic value (999)." The generated plugin.xml gets its patched by Gradle's intellij-platform plugin from build.gradle.kts, not from the source plugin.xml directly, so untilBuild = "999.*" there was the actual root cause. Removed it so the plugin is marked compatible with all future IDE versions, per JetBrains' own recommendation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- build.gradle.kts | 2 +- src/main/resources/META-INF/plugin.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8c1ab1c..97ac93b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,7 +37,7 @@ intellijPlatform { pluginConfiguration { ideaVersion { sinceBuild = "242" - untilBuild = "999.*" + untilBuild = provider { null } } // Allow CI to inject release notes (HTML) into the plugin's . System.getenv("CHANGELOG_FILE")?.takeIf { it.isNotBlank() }?.let { path -> diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index f29c8ee..d0a2303 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -22,8 +22,8 @@ + anchor="right" + icon="/icons/projectStatsToolWindow.svg" + factoryClass="com.github.projectstats.ProjectStatsToolWindowFactory"/>