From 65f5bd6d514dfe421cc712c40e5b7bcd9fde41ae Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 4 May 2026 10:22:21 +0200 Subject: [PATCH] Remove `intellijPlatform.pluginConfiguration.description` default configuration from `build.gradle.kts`. --- CHANGELOG.md | 1 + build.gradle.kts | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 033c160..612a590 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Removed - Remove changelog configuration from `build.gradle.kts` as it is preconfigured now in the IntelliJ Platform Gradle Plugin +- Remove `intellijPlatform.pluginConfiguration.description` default configuration from `build.gradle.kts`. ### Fixed diff --git a/build.gradle.kts b/build.gradle.kts index 557660f..10a4cef 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,3 @@ -import org.jetbrains.changelog.markdownToHTML import org.jetbrains.intellij.platform.gradle.TestFrameworkType plugins { @@ -16,21 +15,3 @@ dependencies { testFramework(TestFrameworkType.Platform) } } - -// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html -intellijPlatform { - pluginConfiguration { - // 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 = "" - val end = "" - - with(it.lines()) { - if (!containsAll(listOf(start, end))) { - throw GradleException("Plugin description section not found in README.md:\n$start ... $end") - } - subList(indexOf(start) + 1, indexOf(end)).joinToString("\n").let(::markdownToHTML) - } - } - } -}