diff options
Diffstat (limited to 'runners/gradle-plugin/src/main')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleSourceLinkBuilder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleSourceLinkBuilder.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleSourceLinkBuilder.kt index a271e810..e84bfd2c 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleSourceLinkBuilder.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleSourceLinkBuilder.kt @@ -27,7 +27,7 @@ class GradleSourceLinkBuilder( override fun build(): SourceLinkDefinitionImpl { return SourceLinkDefinitionImpl( - localDirectory = localDirectory.getSafe()?.absolutePath ?: project.projectDir.absolutePath, + localDirectory = localDirectory.getSafe()?.canonicalPath ?: project.projectDir.canonicalPath, remoteUrl = checkNotNull(remoteUrl.getSafe()) { "missing remoteUrl on source link" }, remoteLineSuffix = remoteLineSuffix.getSafe() ) |