From aa6db6e2b51260b760551383c58358309f155686 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Fri, 10 Jul 2020 07:47:46 +0200 Subject: Remove Project.dokka extension function --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'runners/gradle-plugin/src/main/kotlin') 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() - } -} -- cgit