aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/build.gradle
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-02-20 00:11:30 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-02-20 00:11:30 +0300
commit9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad (patch)
tree175cc87931009e911a8cb358e8b2a3c3c1e01efa /runners/gradle-plugin/build.gradle
parent5dd8433a27ad6e50f79b66709480be02696af57d (diff)
downloaddokka-9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad.tar.gz
dokka-9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad.tar.bz2
dokka-9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad.zip
Update publish-plugin and fix publishing
Diffstat (limited to 'runners/gradle-plugin/build.gradle')
-rw-r--r--runners/gradle-plugin/build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/runners/gradle-plugin/build.gradle b/runners/gradle-plugin/build.gradle
index d3dbae22..661d432b 100644
--- a/runners/gradle-plugin/build.gradle
+++ b/runners/gradle-plugin/build.gradle
@@ -1,3 +1,5 @@
+import com.gradle.publish.DependenciesBuilder
+
apply plugin: 'java'
apply plugin: 'kotlin'
@@ -84,6 +86,12 @@ pluginBundle {
}
}
+ withDependencies { List<Dependency> list ->
+ list.clear()
+ def builder = new DependenciesBuilder()
+ builder.addUniqueScopedDependencies(list, configurations.shadow, "compile")
+ }
+
mavenCoordinates {
groupId = "org.jetbrains.dokka"
artifactId = "dokka-gradle-plugin"