From 408c0bd728696b82c1ced98bd1d96ca087673d74 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Tue, 10 Jan 2017 17:55:18 +0300 Subject: Various config options now available in Gradle plugin --- runners/gradle-plugin/src/main/kotlin/main.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'runners/gradle-plugin/src/main/kotlin') diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt index e4f4a593..7ed83473 100644 --- a/runners/gradle-plugin/src/main/kotlin/main.kt +++ b/runners/gradle-plugin/src/main/kotlin/main.kt @@ -72,6 +72,11 @@ open class DokkaTask : DefaultTask() { @Input var dokkaFatJar: Any = "org.jetbrains.dokka:dokka-fatjar:$version" + @Input var skipDeprecated = false + @Input var skipEmptyPackages = true + @Input var reportNotDocumented = true + + protected open val sdkProvider: SdkProvider? = null fun linkMapping(closure: Closure) { @@ -154,9 +159,9 @@ open class DokkaTask : DefaultTask() { outputDirectory, outputFormat, false, - false, - false, - false, + reportNotDocumented, + skipEmptyPackages, + skipDeprecated, 6, true, linkMappings.map { -- cgit