diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-02-20 00:11:30 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-02-20 00:11:30 +0300 |
commit | 9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad (patch) | |
tree | 175cc87931009e911a8cb358e8b2a3c3c1e01efa /runners | |
parent | 5dd8433a27ad6e50f79b66709480be02696af57d (diff) | |
download | dokka-9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad.tar.gz dokka-9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad.tar.bz2 dokka-9530cb367eb1ad92b6ca5aa5261e28f76e7d4bad.zip |
Update publish-plugin and fix publishing
Diffstat (limited to 'runners')
-rw-r--r-- | runners/android-gradle-plugin/build.gradle | 7 | ||||
-rw-r--r-- | runners/gradle-plugin/build.gradle | 8 |
2 files changed, 15 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" 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" |