aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-10 17:55:18 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-10 17:55:18 +0300
commit408c0bd728696b82c1ced98bd1d96ca087673d74 (patch)
tree59ac6df5b6c3c452832df6466ff2b53e88538a17 /runners
parentcf4b03f7c6299e401eedc9dc832a06a778105f75 (diff)
downloaddokka-408c0bd728696b82c1ced98bd1d96ca087673d74.tar.gz
dokka-408c0bd728696b82c1ced98bd1d96ca087673d74.tar.bz2
dokka-408c0bd728696b82c1ced98bd1d96ca087673d74.zip
Various config options now available in Gradle plugin
Diffstat (limited to 'runners')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt11
1 files changed, 8 insertions, 3 deletions
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<Any?>) {
@@ -154,9 +159,9 @@ open class DokkaTask : DefaultTask() {
outputDirectory,
outputFormat,
false,
- false,
- false,
- false,
+ reportNotDocumented,
+ skipEmptyPackages,
+ skipDeprecated,
6,
true,
linkMappings.map {