aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-01-31 14:35:28 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-01-31 14:35:28 +0300
commitf1536cc86b9cedebb10664e63783eb45e60c4856 (patch)
tree2469cf0295c0b5e78b358f513734288c87878d08 /runners/gradle-plugin/src/main
parent6fa36fde9628685c274fd6af0aebc467e76c79e9 (diff)
downloaddokka-f1536cc86b9cedebb10664e63783eb45e60c4856.tar.gz
dokka-f1536cc86b9cedebb10664e63783eb45e60c4856.tar.bz2
dokka-f1536cc86b9cedebb10664e63783eb45e60c4856.zip
Fix dependencies in Gradle 4.5
Diffstat (limited to 'runners/gradle-plugin/src/main')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt
index 78bf4978..8c7f608e 100644
--- a/runners/gradle-plugin/src/main/kotlin/main.kt
+++ b/runners/gradle-plugin/src/main/kotlin/main.kt
@@ -71,7 +71,7 @@ open class DokkaTask : DefaultTask() {
description = "Generates dokka documentation for Kotlin"
@Suppress("LeakingThis")
- dependsOn(Callable { kotlinTasks.flatMap { it.dependsOn } })
+ dependsOn(Callable { kotlinTasks.map { it.taskDependencies } })
}
@Input