aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-06-04 16:23:34 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-07-14 23:57:13 +0300
commit23861925232505dbd70344a1d690f2475bb022e8 (patch)
treef5fab8081b700c9553a4d925de0de70a9ced7b37 /runners/gradle-plugin
parentadee5c45d9b9b47a38fa0124b97c85c8733476e8 (diff)
downloaddokka-23861925232505dbd70344a1d690f2475bb022e8.tar.gz
dokka-23861925232505dbd70344a1d690f2475bb022e8.tar.bz2
dokka-23861925232505dbd70344a1d690f2475bb022e8.zip
[backport] Introduce option to enable/disable jdk linking
Original: 8e9e768
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt14
1 files changed, 9 insertions, 5 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt
index 4812e217..d3a341e0 100644
--- a/runners/gradle-plugin/src/main/kotlin/main.kt
+++ b/runners/gradle-plugin/src/main/kotlin/main.kt
@@ -124,6 +124,9 @@ open class DokkaTask : DefaultTask() {
@Input var noStdlibLink: Boolean = false
+ @Input
+ var noJdkLink: Boolean = false
+
@Optional @Input
var cacheRoot: String? = null
@@ -309,11 +312,12 @@ open class DokkaTask : DefaultTask() {
perPackageOptions,
externalDocumentationLinks,
noStdlibLink,
- cacheRoot,
- collectSuppressedFiles(sourceRoots),
- languageVersion,
- apiVersion,
- collectInheritedExtensionsFromLibraries
+ noJdkLink,
+ cacheRoot,
+ collectSuppressedFiles(sourceRoots),
+ languageVersion,
+ apiVersion,
+ collectInheritedExtensionsFromLibraries
)