Remove changelog configuration from build.gradle.kts as it is preconfigured now in the IntelliJ Platform Gradle Plugin

This commit is contained in:
Jakub Chrzanowski
2026-05-04 10:19:38 +02:00
parent 0a76b1e2cd
commit e1ce759bf2
2 changed files with 4 additions and 27 deletions

View File

@@ -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

View File

@@ -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)
}
}