Skip to content

Commit

Permalink
build: update the project pom.xml infos (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK authored Feb 19, 2023
1 parent 512ffb5 commit 13e8569
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ description = "A Gradle plugin enforcing pre-commit and commit-msg Git hooks con
inner class ProjectInfo {
val longName = "Gradle pre-commit Git Hooks"
val website = "/~https://github.com/DanySK/$name"
val scm = "git@github.com:DanySK/$name.git"
val vcsUrl = "$website.git"
val scm = "scm:git:$website.git"
val pluginImplementationClass = "$group.gradle.git.hooks.GradleGitHooksPlugin"
val tags = listOf("git", "hook", "git hooks", "conventional commits")
}
Expand Down Expand Up @@ -126,19 +127,16 @@ publishOnCentral {
}
}

pluginBundle {
website = info.website
vcsUrl = info.website
tags = info.tags
}

gradlePlugin {
website.set(info.website)
vcsUrl.set(info.vcsUrl)
plugins {
create("gitHooks") {
id = "$group.${project.name}"
displayName = info.longName
description = project.description
implementationClass = info.pluginImplementationClass
tags.set(info.tags)
}
}
}

0 comments on commit 13e8569

Please sign in to comment.