From: Alexander Goussas Date: Mon, 27 Oct 2025 23:04:23 +0000 (-0500) Subject: feat: configure publish plugin X-Git-Url: http://git.frustrated-labs.net/?a=commitdiff_plain;h=b16fe5c21049c6f6b926042a22bc37fbfa7906de;p=gradle-changelog-plugin.git feat: configure publish plugin --- diff --git a/changelog-plugin/build.gradle.kts b/changelog-plugin/build.gradle.kts index dd9a510..fb18705 100644 --- a/changelog-plugin/build.gradle.kts +++ b/changelog-plugin/build.gradle.kts @@ -1,18 +1,30 @@ plugins { `java-gradle-plugin` + id("com.gradle.plugin-publish") version "1.2.1" + signing + id("com.gradleup.shadow") version "9.2.2" kotlin("jvm") version "2.1.21" } group = "io.github.aloussase" +version = "0.1.0" repositories { mavenCentral() } + + gradlePlugin { + website = "https://github.com/aloussase/gradle-changelog-plugin" + vcsUrl = "https://github.com/aloussase/gradle-changelog-plugin.git" + plugins { create("changelog") { id = "$group.$name" + displayName = "Plugin for generating CHANGELOG entries" + description = "Generate a CHANGELOG automatically from Git commit history" + tags = listOf("git", "changelog", "documentation", "tool") implementationClass = "$group.$name.ChangelogPlugin" } } @@ -27,3 +39,7 @@ dependencies { tasks.withType().configureEach { useJUnitPlatform() } + +tasks.withType().configureEach { + archiveClassifier.set("") +}