Skip to content

Commit

Permalink
Correct pomDescription to pomName
Browse files Browse the repository at this point in the history
  • Loading branch information
drewhamilton committed Dec 15, 2023
1 parent 7d0cf73 commit c84bdea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.drewhamilton.poko.build

interface PokoBuildExtension {
fun publishing(pomDescription: String)
fun publishing(pomName: String)
fun generateArtifactInfo(basePackage: String)
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PokoBuildPlugin : Plugin<Project> {
private class PokoBuildExtensionImpl(
private val project: Project,
) : PokoBuildExtension {
override fun publishing(pomDescription: String) {
override fun publishing(pomName: String) {
project.pluginManager.apply("com.vanniktech.maven.publish")

val mavenPublishing = project.extensions.getByName("mavenPublishing") as MavenPublishBaseExtension
Expand All @@ -47,7 +47,7 @@ class PokoBuildPlugin : Plugin<Project> {
coordinates(project.pokoGroupId, project.name, project.pokoVersion)

pom {
description.set(pomDescription)
name.set(pomName)
}
}

Expand Down

0 comments on commit c84bdea

Please sign in to comment.