Skip to content

Commit

Permalink
Fix publication POM for maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
semoro committed Feb 1, 2018
1 parent f1536cc commit a923065
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runners/maven-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import groovy.io.FileType
import org.jetbrains.CorrectShadowPublishing
import org.jetbrains.CrossPlatformExec

import java.nio.file.Files
Expand Down Expand Up @@ -92,14 +93,14 @@ apply plugin: 'maven-publish'

publishing {
publications {
dokkaMavenPlugin(MavenPublication) { publication ->
dokkaMavenPlugin(MavenPublication) { MavenPublication publication ->
artifactId = 'dokka-maven-plugin'

artifact sourceJar {
classifier "sources"
}

project.shadow.component(publication)
CorrectShadowPublishing.configure(publication, project)

pom.withXml {
Node root = asNode()
Expand Down

0 comments on commit a923065

Please sign in to comment.