aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiem Song <tiembo@users.noreply.github.com>2019-02-15 05:26:22 -0800
committerSimon Ogorodnik <simon.ogorodnik@gmail.com>2019-02-15 16:26:22 +0300
commit0fa9b69b6afe762e5aee7b7cf801a38ebe74b2c9 (patch)
tree96cbea8516314d2d8e421e2eb7094a1aeab8e9d1
parent17dd9747828a2ba8275714dc421a415c68d01615 (diff)
downloaddokka-0fa9b69b6afe762e5aee7b7cf801a38ebe74b2c9.tar.gz
dokka-0fa9b69b6afe762e5aee7b7cf801a38ebe74b2c9.tar.bz2
dokka-0fa9b69b6afe762e5aee7b7cf801a38ebe74b2c9.zip
Update pom file to use 'compile' instead of 'runtime' (#393)
This addresses Gradle 5.0 compatibility and fixes https://github.com/Kotlin/dokka/issues/388
-rw-r--r--buildSrc/src/main/groovy/org/jetbrains/CorrectShadowPublishing.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildSrc/src/main/groovy/org/jetbrains/CorrectShadowPublishing.groovy b/buildSrc/src/main/groovy/org/jetbrains/CorrectShadowPublishing.groovy
index 3e1d2106..58cfdcf7 100644
--- a/buildSrc/src/main/groovy/org/jetbrains/CorrectShadowPublishing.groovy
+++ b/buildSrc/src/main/groovy/org/jetbrains/CorrectShadowPublishing.groovy
@@ -35,5 +35,5 @@ private static void addDependency(Node dependenciesNode, dep) {
dependencyNode.appendNode('groupId', dep.group)
dependencyNode.appendNode('artifactId', dep.name)
dependencyNode.appendNode('version', dep.version)
- dependencyNode.appendNode('scope', 'runtime')
-} \ No newline at end of file
+ dependencyNode.appendNode('scope', 'compile')
+}