mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-09-22 20:05:38 +00:00
Refactor changelog property usage to simplify version mapping logic.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user