diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-02-01 16:11:47 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-02-01 16:11:47 +0300 |
commit | a9230650654229443c1e4d0896188f887e43077d (patch) | |
tree | 9eb4383b9b5bbc53b5e5ec61241a3d81aa9a4a3d | |
parent | f1536cc86b9cedebb10664e63783eb45e60c4856 (diff) | |
download | dokka-a9230650654229443c1e4d0896188f887e43077d.tar.gz dokka-a9230650654229443c1e4d0896188f887e43077d.tar.bz2 dokka-a9230650654229443c1e4d0896188f887e43077d.zip |
Fix publication POM for maven-plugin
-rw-r--r-- | runners/maven-plugin/build.gradle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle index 0e8d6a4d..f3b9e79c 100644 --- a/runners/maven-plugin/build.gradle +++ b/runners/maven-plugin/build.gradle @@ -1,4 +1,5 @@ import groovy.io.FileType +import org.jetbrains.CorrectShadowPublishing import org.jetbrains.CrossPlatformExec import java.nio.file.Files @@ -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() |