All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gradle-plugins.changelog.0.1.0-rc.4.source-code.com.javiersc.gradle.plugins.changelog.gradle.kts Maven / Gradle / Ivy

There is a newer version: 0.1.0-rc.45
Show newest version
@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