Skip to content

Commit

Permalink
Merge pull request #10 from usefulness/more_pom_info
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Feb 27, 2021
2 parents d392cf9 + 04e809e commit 9aa1d9f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions buildSrc/src/main/kotlin/PublishingPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class PublishingPlugin : Plugin<Project> {
register("mavenJava", MavenPublication::class.java) { publication ->
publication.from(components.getByName("java"))
publication.pom { pom ->
pom.name.set("${project.group}:${project.name}")
pom.description.set("A tool that scans sources for all resolved lisks to public trackers")
pom.url.set("https://github.com/usefulness/issuechecker")
pom.licenses { licenses ->
Expand All @@ -57,6 +58,13 @@ class PublishingPlugin : Plugin<Project> {
license.url.set("https://github.com/usefulness/issuechecker/blob/master/LICENSE")
}
}
pom.developers { developers ->
developers.developer { developer ->
developer.id.set("mateuszkwiecinski")
developer.name.set("Mateusz Kwiecinski")
developer.email.set("[email protected]")
}
}
pom.scm { scm ->
scm.connection.set("scm:git:github.com/usefulness/issuechecker.git")
scm.developerConnection.set("scm:git:ssh://github.com/usefulness/issuechecker.git")
Expand Down

0 comments on commit 9aa1d9f

Please sign in to comment.