aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main/kotlin
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-10 07:47:46 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-13 14:23:08 +0200
commitaa6db6e2b51260b760551383c58358309f155686 (patch)
tree8be7f6e32ddd3b2bd57a25d94f33b22a18195e67 /runners/gradle-plugin/src/main/kotlin
parent71497c5561afd62c1a4296bd0d0beb689dfd8e51 (diff)
downloaddokka-aa6db6e2b51260b760551383c58358309f155686.tar.gz
dokka-aa6db6e2b51260b760551383c58358309f155686.tar.bz2
dokka-aa6db6e2b51260b760551383c58358309f155686.zip
Remove Project.dokka extension function
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt6
1 files changed, 0 insertions, 6 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
index 0eddd8e6..bc2fa769 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
@@ -350,9 +350,3 @@ open class DokkaTask : DefaultTask(), Configurable {
}
}
}
-
-fun Project.dokka(configuration: DokkaTask.() -> Unit) {
- tasks.withType(DokkaTask::class.java) { dokkaTask ->
- dokkaTask.configuration()
- }
-}