From 979fc454b726dcfec39e8c9e86bdfd2accacf7d9 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 20:49:59 +0200 Subject: [PATCH] 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 a0e278e..fe9b60c 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())