diff options
author | freya02 <41875020+freya022@users.noreply.github.com> | 2023-10-18 22:33:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 22:33:01 +0200 |
commit | 8016c1face1283952e228aee348487bf0421ab90 (patch) | |
tree | 5216ef6a32e01ef74329e2eaee6027f19d678daa /runners/maven-plugin | |
parent | f225fafdf10f351d31e546b73eb511f46ffc6806 (diff) | |
download | dokka-8016c1face1283952e228aee348487bf0421ab90.tar.gz dokka-8016c1face1283952e228aee348487bf0421ab90.tar.bz2 dokka-8016c1face1283952e228aee348487bf0421ab90.zip |
Fix sources not being linked when using Maven (#3046)
Diffstat (limited to 'runners/maven-plugin')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index ba95e7a7..d14fea9c 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -389,7 +389,7 @@ public abstract class AbstractDokkaMojo( skipEmptyPackages = skipEmptyPackages, skipDeprecated = skipDeprecated, jdkVersion = jdkVersion, - sourceLinks = sourceLinks.map { SourceLinkDefinitionImpl(it.path, URL(it.url), it.lineSuffix) }.toSet(), + sourceLinks = sourceLinks.map { SourceLinkDefinitionImpl(File(it.path).canonicalPath, URL(it.url), it.lineSuffix) }.toSet(), perPackageOptions = perPackageOptions.map { @Suppress("DEPRECATION") // for includeNonPublic, preserve backwards compatibility PackageOptionsImpl( |