From e1ce759bf2bc15a86d705f89399dad7936e40d00 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 4 May 2026 10:19:38 +0200 Subject: [PATCH] Remove changelog configuration from `build.gradle.kts` as it is preconfigured now in the IntelliJ Platform Gradle Plugin --- CHANGELOG.md | 4 ++++ build.gradle.kts | 27 --------------------------- 2 files changed, 4 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90387bb..6e98f16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ## [Unreleased] +### Removed + +- Remove changelog configuration from `build.gradle.kts` as it is preconfigured now in the IntelliJ Platform Gradle Plugin + ### Fixed - Update Run Plugin configuration to fix sandbox log file path diff --git a/build.gradle.kts b/build.gradle.kts index 04b39be..557660f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,3 @@ -import org.jetbrains.changelog.Changelog import org.jetbrains.changelog.markdownToHTML import org.jetbrains.intellij.platform.gradle.TestFrameworkType @@ -33,31 +32,5 @@ intellijPlatform { subList(indexOf(start) + 1, indexOf(end)).joinToString("\n").let(::markdownToHTML) } } - - val changelog = project.changelog // local variable for configuration cache compatibility - // Get the latest available change notes from the changelog file - changeNotes = version.map { pluginVersion -> - with(changelog) { - renderItem( - (getOrNull(pluginVersion) ?: getUnreleased()) - .withHeader(false) - .withEmptySections(false), - Changelog.OutputType.HTML, - ) - } - } - } -} - -// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin -changelog { - groups.empty() - repositoryUrl = providers.gradleProperty("pluginRepositoryUrl") - versionPrefix = "" -} - -tasks { - publishPlugin { - dependsOn(patchChangelog) } }