From e43478f9fe4a362c95276ef4de1eb3f5827e23bb Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Thu, 20 Aug 2020 13:34:38 +0200 Subject: Declare all dokka tasks as abstract instead of open --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt | 2 +- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt | 2 +- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'runners/gradle-plugin/src') diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt index e1ad4e3b..532e9e84 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt @@ -2,7 +2,7 @@ package org.jetbrains.dokka.gradle import org.jetbrains.dokka.DokkaConfigurationImpl -open class DokkaCollectorTask : AbstractDokkaParentTask() { +abstract class DokkaCollectorTask : AbstractDokkaParentTask() { override fun generateDocumentation() { checkChildDokkaTasksIsNotEmpty() diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt index 5f9f5a10..2e7b7490 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt @@ -13,7 +13,7 @@ import java.io.File typealias DokkaMultimoduleTask = DokkaMultiModuleTask -open class DokkaMultiModuleTask : AbstractDokkaParentTask(DokkaMultimoduleBootstrapImpl::class) { +abstract class DokkaMultiModuleTask : AbstractDokkaParentTask(DokkaMultimoduleBootstrapImpl::class) { /** * Name of the file containing all necessary module information. 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 e63863b3..d07873d8 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 @@ -8,7 +8,7 @@ import org.jetbrains.dokka.DokkaBootstrapImpl import org.jetbrains.dokka.DokkaConfigurationImpl import org.jetbrains.dokka.build -open class DokkaTask : AbstractDokkaTask(DokkaBootstrapImpl::class) { +abstract class DokkaTask : AbstractDokkaTask(DokkaBootstrapImpl::class) { @get:Internal val dokkaSourceSets: NamedDomainObjectContainer = -- cgit