aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2021-04-20 14:03:08 -0700
committerAurimas Liutikas <aurimas@google.com>2021-04-20 14:55:43 -0700
commit1ba19b6c059519854879eef5f0ddb4937f22779a (patch)
tree7ed184660673e7bac61ae4cd824405bfe2ddb8f7
parent27627c376315d9b65d9f847453b2c23ac077307d (diff)
downloaddokka-1ba19b6c059519854879eef5f0ddb4937f22779a.tar.gz
Annotate two properties in DokkaTask
DokkaTask#outputDirectory as internal DokkaTask#reportNotDocumented as input Gradle 7.0 requires explict marking of all properties. Test: None Change-Id: I00e13eff666a965dc31b70ac31eb506522836b56
-rw-r--r--gradle.properties2
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt2
2 files changed, 3 insertions, 1 deletions
diff --git a/gradle.properties b/gradle.properties
index 263eb1530..2117d734f 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-dokka_version=0.9.17-g013
+dokka_version=0.9.17-g014
dokka_publication_channel=dokka
#Kotlin compiler and plugin
diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt
index 74a2af46b..9555fa828 100644
--- a/runners/gradle-plugin/src/main/kotlin/main.kt
+++ b/runners/gradle-plugin/src/main/kotlin/main.kt
@@ -79,6 +79,7 @@ open class DokkaTask : DefaultTask() {
var moduleName: String = ""
@Input
var outputFormat: String = "html"
+ @get:Internal // handled by getOutputDirectoryAsFile
var outputDirectory: String = ""
@@ -118,6 +119,7 @@ open class DokkaTask : DefaultTask() {
@Input var outlineRoot: String = ""
@Input var dacRoot: String = ""
+ @get:Input
@Deprecated(`deprecationMessage reportNotDocumented`, replaceWith = ReplaceWith("reportUndocumented"))
var reportNotDocumented
get() = reportUndocumented