Skip to content

Commit

Permalink
[publishing] set packaging to 'pom' when project has the java-platfor…
Browse files Browse the repository at this point in the history
…m plugin. Fixes #468
  • Loading branch information
aalmiray committed Apr 24, 2021
1 parent 8f69b0b commit 6266241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 136 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ class PublishingPlugin extends AbstractKordampPlugin {
return
}

if (project.pluginManager.hasPlugin('java-platform')) {
config.publishing.pom.packaging = 'pom'
}

project.publishing {
publications {
for (String pub : config.publishing.publications) {
Expand Down

0 comments on commit 6266241

Please sign in to comment.