Owner:
Ned Twigg
Spotless Changelog checks that your changelog complies with the format of keepachangelog, and uses the information from **only the changelog file** to compute the version of the next release. If you want, you can use the computed version to update the changelog file, then automatically commit, tag, and push when a release is published.
Version 3.1.2 (latest)
Created 06 July 2024.
The changelog is cast, let the versions fall where they may.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.diffplug.spotless-changelog") version "3.1.2"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("com.diffplug.spotless-changelog:com.diffplug.spotless-changelog.gradle.plugin:3.1.2") }It can then be applied in the precompiled script plugin:plugins { id("com.diffplug.spotless-changelog") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.diffplug.spotless-changelog:com.diffplug.spotless-changelog.gradle.plugin:3.1.2") } } apply(plugin = "com.diffplug.spotless-changelog") - Applying plugins to all subprojects .