diff --git a/build.gradle.kts b/build.gradle.kts index 2ef5c4d1..9220dd86 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import org.jetbrains.dokka.gradle.DokkaTask import org.jetbrains.dokka.gradle.DokkaTaskPartial import org.jetbrains.kotlin.gradle.tasks.KotlinCompile -import java.net.URL +import java.net.URI buildscript { repositories { @@ -64,7 +64,7 @@ tasks { configureEach { sourceLink { localDirectory.set(file("$projectDir/$kotlinSrcSet")) - remoteUrl.set(URL(projectRelativeSourceLink())) + remoteUrl.set(URI.create(projectRelativeSourceLink()).toURL()) remoteLineSuffix.set("#L") } }