diff options
Diffstat (limited to 'runners')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt index c815a8a3..8a944837 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt @@ -11,7 +11,7 @@ internal fun GradleDokkaSourceSetBuilder.toDokkaSourceSetImpl(): DokkaSourceSetI displayName = displayNameOrDefault(), sourceSetID = sourceSetID, sourceRoots = sourceRoots.toSet(), - dependentSourceSets = dependentSourceSets.get().toSet(), + dependentSourceSets = dependentSourceSets.getSafe().toSet(), samples = samples.toSet(), includes = includes.toSet(), includeNonPublic = includeNonPublic.getSafe(), @@ -47,7 +47,7 @@ private fun GradleDokkaSourceSetBuilder.displayNameOrDefault(): String { private fun GradleDokkaSourceSetBuilder.externalDocumentationLinksWithDefaults(): Set<ExternalDocumentationLinkImpl> { return externalDocumentationLinks.getSafe().build() .run { - if (noJdkLink.get()) this + if (noJdkLink.getSafe()) this else this + ExternalDocumentationLink.jdk(jdkVersion.getSafe()) } .run { |