mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-09-22 11:54:40 +00:00
Remove changelog configuration from build.gradle.kts as it is preconfigured now in the IntelliJ Platform Gradle Plugin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user