aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-02-01 16:11:47 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-02-01 16:11:47 +0300
commita9230650654229443c1e4d0896188f887e43077d (patch)
tree9eb4383b9b5bbc53b5e5ec61241a3d81aa9a4a3d
parentf1536cc86b9cedebb10664e63783eb45e60c4856 (diff)
downloaddokka-a9230650654229443c1e4d0896188f887e43077d.tar.gz
dokka-a9230650654229443c1e4d0896188f887e43077d.tar.bz2
dokka-a9230650654229443c1e4d0896188f887e43077d.zip
Fix publication POM for maven-plugin
-rw-r--r--runners/maven-plugin/build.gradle5
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()