gradle-plugins.changelog.0.1.0-rc.4.source-code.com.javiersc.gradle.plugins.changelog.gradle.kts Maven / Gradle / Ivy
@file:OptIn(ExperimentalStdlibApi::class)
import org.jetbrains.changelog.ChangelogPluginExtension
import org.jetbrains.changelog.date
import org.jetbrains.changelog.tasks.PatchChangelogTask
plugins { id("org.jetbrains.changelog") }
configure {
version.set("${project.version}")
header.set(provider { "[${version.get()}] - ${date()}" })
groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed", "Updated"))
}
tasks {
named("patchChangelog") {
group = "changelog"
doLast { patchChangelog() }
}
register("mergeChangelog") {
group = "changelog"
doLast { mergeChangelog() }
}
register("addChangelogItem")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy