aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-14 16:02:42 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commit3f8c99cf04893da8fc3c353cba0133dc54e5febe (patch)
tree95f5b541ad583f85da5130ca01dbff45ec889e6c /runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
parentf655b97cffd875a33618f4326e0a890d3e73ce24 (diff)
downloaddokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.tar.gz
dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.tar.bz2
dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.zip
Use java.net.URL consistently across Gradle Plugin API surface
Diffstat (limited to 'runners/maven-plugin/src/main/kotlin/DokkaMojo.kt')
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt2
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 781f7cf2..b95b94c0 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -203,7 +203,7 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc
skipEmptyPackages = skipEmptyPackages,
skipDeprecated = skipDeprecated,
jdkVersion = jdkVersion,
- sourceLinks = sourceLinks.map { SourceLinkDefinitionImpl(it.path, it.url, it.lineSuffix) }.toSet(),
+ sourceLinks = sourceLinks.map { SourceLinkDefinitionImpl(it.path, URL(it.url), it.lineSuffix) }.toSet(),
perPackageOptions = perPackageOptions.map {
PackageOptionsImpl(
prefix = it.prefix,