aboutsummaryrefslogtreecommitdiff
path: root/runners/android-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/android-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/android-gradle-plugin/build.gradle')
-rw-r--r--runners/android-gradle-plugin/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/runners/android-gradle-plugin/build.gradle b/runners/android-gradle-plugin/build.gradle
index 7d286cc7..72d1be9e 100644
--- a/runners/android-gradle-plugin/build.gradle
+++ b/runners/android-gradle-plugin/build.gradle
@@ -1,3 +1,4 @@
+import com.gradle.publish.DependenciesBuilder
import org.jetbrains.CorrectShadowPublishing
apply plugin: 'java'
@@ -87,6 +88,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-android-gradle-plugin"